You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't recommend using synchronous transactions as they may cause deadlocks. But if you are confident about how you use it, CoreStore does expose a DataStack.performSynchronous() method.
Hi, I am starting to integrate your excellent project into my app.
I am now facing a problem.
How do I save to the database synchronously?
I need realtime saving.
I need to replace this function
do {
try MY_OBJECT.managedObjectContext?.save()
} catch let error {
fatalError("Failure to save context: (error)")
}
I thank you in advance for your response.
Thank you
The text was updated successfully, but these errors were encountered: