Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit c142802

Browse files
author
Rad Azzouz
committed
Revert "Removed unused UIWindow properties from AppDelegate from the Swift apps"
This reverts commit c5dd6e7.
1 parent c5dd6e7 commit c142802

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Demos/App Demo for iOS Swift/App Demo for iOS Swift/AppDelegate.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import UIKit
1010

1111
@UIApplicationMain
1212
class AppDelegate: UIResponder, UIApplicationDelegate {
13-
13+
14+
var window: UIWindow?
15+
1416
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
1517
// Override point for customization after application launch.
1618
return true

Demos/WebView Demo for iOS Swift/WebView Demo for iOS Swift/AppDelegate.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import UIKit
1111
@UIApplicationMain
1212
class AppDelegate: UIResponder, UIApplicationDelegate {
1313

14+
var window: UIWindow?
15+
1416
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
1517
// Override point for customization after application launch.
1618
return true

0 commit comments

Comments
 (0)