Post

Replies

Boosts

Views

Activity

Reply to Save object to shared database
Solved it whilst this post was being reviewed. If anyone else comes across this problem it's pretty straight forward: // Just an example let newObject = Item(context: self.context) let sharedStore : NSPersistentStore = CoreDataStack.shared.sharedStore self.context.assign(newObject, to: sharedStore) // save etc.
Topic: App & System Services SubTopic: iCloud Tags:
Aug ’23
Reply to Save object to shared database
Solved it whilst this post was being reviewed. If anyone else comes across this problem it's pretty straight forward: // Just an example let newObject = Item(context: self.context) let sharedStore : NSPersistentStore = CoreDataStack.shared.sharedStore self.context.assign(newObject, to: sharedStore) // save etc.
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Aug ’23