Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
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.