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.
Aug ’23