(self asking and self-answering because I spent hours on the web looking for this, and most of the resources all say \"I solved it in the end\" without giving an explanation)
I understand that Core Data is not thread safe and that NSManagedObjectContext and NSManagedObjects associated with a context cannot be passed from thread to thread.
I have a strange problem in my Core Data app. I have three entities in my app, but today I found a problem with one of them. My problematic entity is called Invoice and it has many attributes, includ
I create a new managed object开发者_JAVA技巧 context in a new thread an insert some objects into it. Can I discard (just forget them) them by just not saving the context? My problem is this: I start a
I have some code that calls an API and gets a set of results back, let\'s call them \'message\' objects. Each message has a unique ID.
I\'m using core data in my app, and i\'m confused when it comes to removing certain rows or entries from the core data storage.I insert some products in to the storage like so:
I\'m a bit lost on how to pass my fetched managed object data through a didSelectRow UIPickerView action.
I have a开发者_运维问答 CoreData / NSPersistentDoc app. It works fine. I added a new entity to the MOM, and updated the version.
In my Garbage Collected Mac application I\'m experiencing significantly high memory usage as a result of a helper function I put together to delete all Core Data entities of a particular type. Here\'s
The current status I have a superclass named \"GeneralCard\" that is the super of many \"CardsControllers\".