Skip to content

Instantly share code, notes, and snippets.

@soxjke
Last active November 1, 2017 12:15
Show Gist options
  • Select an option

  • Save soxjke/097034a00d264f965a78a3852415d9cf to your computer and use it in GitHub Desktop.

Select an option

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