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 & Data
Tags: