nsmanagedobject
some time can't access NSmanagedObject returned form fetchResultController
I have been struggling several days because of some weird overreleased. My tableView is little bit different typeso can\'t use NSFetchControllerDelegate.[详细]
2023-03-02 16:17 分类:问答Objective C - Core Data record update
i have to update some records in Core Data. Is this the right way? NSManagedObjectContext *context = [self managedObjectContext];[详细]
2023-03-02 03:07 分类:问答Custom setter for Core Data relationship to force inverse, reciprocal relationship
I want to create a custom setter for an NSManagedObject core data one-to-many relationship (Object.related), so that when object A is added to B.related, B is automatically added to A.related, and if[详细]
2023-03-01 08:44 分类:问答Get modification date for NSManagedObject in Core Data?
Outside of adding an NSDat开发者_如何转开发e property to each Entity in my Core Data store, is there a programmatic way to get the modification date for any object?No, you must add a date and manage i[详细]
2023-03-01 00:38 分类:问答Core Data: Can I add a relationship to the parent entity?
I made the Photo entity, which has a Data attribute to store the image data. Photo is the parent of the Thumbnai开发者_高级运维l entity. I also added a one-to-one relationship between Photo and Thumbn[详细]
2023-02-28 16:35 分类:问答Determine whether NSManagedObject attribute is optional
I am using Core Data and have a subclass of NSManagedObject called Person (which is an entity in Core Data). The Person object has several properties (e.g. firstName, lastName, etc.) and relationships[详细]
2023-02-28 08:06 分类:问答Use a set from a managed object as data for a fetched results controller
I want to make a Navigation interface, where a user can tap on a cell and have a new navigation controller the same as the previous one come up. My managed objects have the following structure:[详细]
2023-02-27 04:23 分类:问答Storing NSManagedObject in a dictionary (NSDictionary)
I have a custom class, which is a subclass of NSManagedObject. I would like to store it in a dictionary, but when trying to do so I receive a Property list invalid for format: 200 error.[详细]
2023-02-26 03:55 分类:问答How to add observers to an NSManagedObject?
What is the preferred approach to registering observers on an NSManagedObject (since Core Data \"\'owns\' the lifecycle\" of managed objects)?[详细]
2023-02-25 15:31 分类:问答Observed Object not Registered as an Observer
I am having an issue when my array controller is refreshed with new data retrieved from a server request.[详细]
2023-02-25 15:07 分类:问答