Can you clarify on why a CKSubscription is needed?
[Scenario A] User A shares a list of tasks with user B through a CKShare. User B gets access to the CKShare record and any modification made by user B is done directly to the CKShare object which represents a reference to the list of tasks of user A. The same applies to modifications made by user A -- they would be directly reflected on the CKShare record. Why would I need a CKSubscription in this case?
[Scenario B] The only scenario where a CKSubscription would be needed is if CKShare is copied over to user B's Core Data/CloudKit. Then I would implement a CKSubscription to notify the Core Data object on user B's end of any change to CKShare and vice versa.
What does Apple recommend: Implementing A or B?
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: