python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
SwiftUI/Combine: Observe NSManagedObject entity
I have a question regarding how can observe am NSManageObject entity. For example I have this two CoreData entities(Todo and Done):
But I want to observe when the done entity has change. Currently I ...
user2924482
Votes: 0
Answers: 0
CoreData Batch Insert with Extra Keys (Cocoa error 1605.)
I am using CoreData to insert an array of dictionaries ([[String: Any]]) representing objects into a PersistentStore. When inserting the objects, I get the error The operation couldn’t be completed. (...
WikipediaBrown
Votes: 0
Answers: 0
How to synchronise viewContext and backgroundContext in iOS CoreData?
Anyone can guide me on how can I synchronize mainContext and backgroundContext updates?
Here is a brief idea of what we have done and what issue we are facing right now.
We have created two context ob...
iDev
Votes: 0
Answers: 0
Passing ManagedObject collection from fetch result to closure up to ViewController
I want to perform a background fetch and pass the result to closure. Currently I'm using performBackgroundTask method from NSPersistentContainer which is giving a NSManagedObjectContext as a closure. ...
burkinafaso3741
Votes: 0
Answers: 1