Created
June 26, 2018 08:04
-
-
Save maltebucksch/1388939caaa789a6b5a2abedc3e30f5c to your computer and use it in GitHub Desktop.
Realm Sync Service: AppDelegate Whole
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
var syncService: SyncService! | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { | |
syncService = SyncService(modelTypes: [User.self]) | |
return true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment