-
Re: Core Data iCloud stores deprecated ...
jeeeyul Jun 15, 2016 8:10 PM (in response to zulfishah)Can you send me a link for the documentation? I saw deprecation comments for iCloud related constants(symbols), However, I could not found mentions about deprecation of core data + iCloud.
-
Re: Core Data iCloud stores deprecated ...
zulfishah Jun 15, 2016 11:21 PM (in response to jeeeyul)The "What's New in iOS" only mentions this:
- Several
NSPersistentStoreCoordinatorsymbols related to ubiquitous content.
THat, and the deprecations in the code, made me conclude that Core Data iCloud is being deprecated. That's why I'm waiting and hoping for more details.
-
Re: Core Data iCloud stores deprecated ...
IngmarStein Jun 17, 2016 3:00 AM (in response to zulfishah)I've come to the same conclusion and am currently waiting for the video for WWDC session 242. I guess we need to migrate ubiquitous Core Data databases to CloudKit.
-
Re: Core Data iCloud stores deprecated ...
zulfishah Jun 17, 2016 11:07 AM (in response to IngmarStein)Just saw the "What's New in Core Data" talk and they don't mentioned anything at all about the deprecations and what it means for the Core Data iCloud sync system. Pretty disappointing. Hopefully there will be more information on this at some point soon.
-
- Several
-
-
Re: Core Data iCloud stores deprecated ...
atomicbird Jun 17, 2016 2:45 PM (in response to zulfishah)I've been wondering the same thing. The docs for NSPersistentStoreCoordinator deprecate everything related to iCloud and don't suggest alternatives. That means it's apparently iimpossible to use Core Data with iCloud without using deprecated symbols. And that implies that iCloud + Core Data is itself deprecated. But the lack of any statement to that effect leaves things somewhat unclear. I thought this might be covered in the "What's New...." session, but there was no mention of it.
-
Re: Core Data iCloud stores deprecated ...
bent Jun 21, 2016 1:05 PM (in response to zulfishah)Hi zulfishah,
Apps will continue to work for the foreseeable future. Aside from the deprecation warnings, there are no changes to or removal of the functionality in iOS 10. We don't have any specific time line to announce now, but traditionally deprecated symbols on our platform remain functional for a considerable period of time before removal.
Only the client Core Data iCloud API symbols are deprecated. Core Data with iCloud is built on top of the iCloud Drive service. The service pieces are not effected in any way and will continue to work. If and when the deprecated APIs are disabled in some future OS version, applications running on iOS 9 or 10 will continue to work.
- Ben
-
Re: Core Data iCloud stores deprecated ...
Jasko Jun 21, 2016 4:14 PM (in response to bent)What's the recomendation for new applications using iCloud with Core Data for iOS 10?
Should we use the deprecated API until there is an updated one from Apple?
(Or to rephrase: Is Apple going to continue providing this kind of API in the future, in one form or the other?)
Or should I invest in a third party sync solution?
Personally, I am not into writing my own sync framework.
Regards,
Jasko
-
Re: Core Data iCloud stores deprecated ...
malhal Jun 22, 2016 1:17 AM (in response to Jasko)Given the improvements to Core Data with query generations and persistent coordinator locking I'd guess an implementation of sync (that includes push notifications unlike iCloud Core Data) from Apple will arrive at next WWDC, hopefully. In the meantime I suppose you have to do it yourself. I've been working on a delta sync with relations for a very long time and still isn't ready because it is extremely difficult to get right, so I would recommend just maintaining a cache from CloudKit in Core Data and doing full refresh instead of trying to save bandwidth.
-
Re: Core Data iCloud stores deprecated ...
Danny Wong Jul 5, 2016 5:17 AM (in response to Jasko)Same here, I am working on a new app that supposed to use iCloud Core Data sync. Now because the APIs are deprecated in iOS 10, I am stuck now and don't know how to proceed with the project plan.
-
-
Re: Core Data iCloud stores deprecated ...
zulfishah Jun 29, 2016 3:07 AM (in response to bent)Thanks for the confirmation, Ben.
-
Level 1
Apple Staff