Core Data, iCloud and Share Extensions

I would like to develop an iOS 9 app that has a Share Extension with the ability to Read and Write to a Core Data store shared between the App and its Share Extension. I have a test app that does this using AppGroup.


However, when I try to add support for iCloud so that the persistent store is shared among multiple devices I hit problems. (Yes, I have added iCloud to the app Capabilities). I had hoped that the WWDC videos would clearify what is supported and also document best practices and provide some boilerplate code, so far I haven't found any new information.


I would expect the need to use both AppGroups and iCloud from Core Data would be a common requirement?


I would be greatfull if the Apple team or any co-developer can point me to more documentation or correct my understanding of what is possible.


Many thanks, Jonathan

Replies

As far as I know, using Core Data iCloud store in an extension is not recommended yet.