Created
February 27, 2017 01:39
-
-
Save fmo91/4fe11af69bdd2ae17665f1aefedc14b9 to your computer and use it in GitHub Desktop.
Sample ApplicationService implementation
This file contains hidden or 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
| import Foundation | |
| import PluggableApplicationDelegate | |
| final class LoggerApplicationService: NSObject, ApplicationService { | |
| func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool { | |
| print("It has started!") | |
| return true | |
| } | |
| func applicationDidEnterBackground(_ application: UIApplication) { | |
| print("It has entered background") | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment