Last active
July 23, 2017 21:47
-
-
Save gaelfoppolo/72103d70e019dbfcc3986a6aa9b00afa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
/* ... */ | |
NotificationCenter.default.addObserver(self, | |
selector: #selector(AppDelegate.applicationDidTimeout(notification:)), | |
name: .appTimeout, | |
object: nil | |
) | |
/* ... */ | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment