Skip to content

Instantly share code, notes, and snippets.

@soxjke
Last active November 1, 2017 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soxjke/097034a00d264f965a78a3852415d9cf to your computer and use it in GitHub Desktop.
Save soxjke/097034a00d264f965a78a3852415d9cf to your computer and use it in GitHub Desktop.
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
let _ = AppStore.shared
let _ = LocationService.shared
let _ = WeatherService.shared
AppStore.shared.producer.logEvents().start()
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment