Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 4cdc77b

Browse files
cyhsutwIgnacio Romero Zurbuchen
authored andcommitted
Adopt Swift 3 syntax
1 parent 9321eaa commit 4cdc77b

2 files changed

Lines changed: 142 additions & 142 deletions

File tree

Examples/Messenger-Swift/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1414

1515
var window: UIWindow?
1616

17-
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
18-
window?.backgroundColor = UIColor.whiteColor()
17+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18+
window?.backgroundColor = UIColor.white
1919
return true
2020
}
2121
}

0 commit comments

Comments
 (0)