Reputation: 2921
Having just installed XCode 8, I discover that NSPersistentStoreDidImportUbiquitousContentChangesNotification becomes deprecated. The warning message sends me to the documentation.
Apple documentation indeed marks all ubiquity symbols as deprecated, but I can't find any documentation saying how to replace them properly.
Any link ?
Upvotes: 2
Views: 361
Reputation: 70936
There is no replacement; Core Data's iCloud integration is deprecated and has no direct replacement. The alternative is to use CloudKit, but that requires changing the app's design since the API is very different.
Core Data's iCloud support should continue working for now though. As explained in an Apple dev forums post (login required) from an Apple engineer, it should keep working "for the foreseeable future". What that means specifically is impossible to say but typically deprecated stuff keeps working for a long time.
Anyone wanting to keep using this style of syncing while avoiding deprecations should take a look at Ensembles.
Upvotes: 3