nsmanagedobject
"[something copyWithZone:]: unrecognized selector sent to instance" when using Bindings / Core Data
(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)[详细]
2023-03-19 10:44 分类:问答NSManagedObject: create on separate thread
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.[详细]
2023-03-18 06:03 分类:问答Core Data saving problem: can't update transformable attribute (NSArray)
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[详细]
2023-03-17 12:11 分类:问答Discarding NSManagedObjects
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[详细]
2023-03-17 09:07 分类:问答Checking for existing value in NSFetchedResultsController / Core Data
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.[详细]
2023-03-17 02:21 分类:问答Removing a specific entry/row from Core-Data
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:[详细]
2023-03-16 12:02 分类:问答Passing Managed Object Data Through didSelectRow UIPickerView
I\'m a bit lost on how to pass my fetched managed object data through a didSelectRow UIPickerView action.[详细]
2023-03-16 11:27 分类:问答Creating a new NSManagedObject within an NSPersistentDocument refuses to save even though undo shows as possible
I have a开发者_运维问答 CoreData / NSPersistentDoc app. It works fine. I added a new entity to the MOM, and updated the version.[详细]
2023-03-16 08:16 分类:问答High memory usage on Core Data delete
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[详细]
2023-03-13 21:01 分类:问答How to cast a super variable differently inside each of his children's?
The current status I have a superclass named \"GeneralCard\" that is the super of many \"CardsControllers\".[详细]
2023-03-12 17:57 分类:问答