nsmanagedobject
NSPasteboard type for NSManagedObject
I need to drag a reference to an NSManagedObject b开发者_开发知识库etween two table views of my application. What\'s the preferred NSPasteboard type to store a reference to an NSManagedObject?[详细]
2023-01-30 18:45 分类:问答How can I tell whether an `NSManagedObject` has been deleted?
I have an NSManagedObject that has been deleted, and the context containing that managed object has been saved. I understand that isDeleted returns YES if Core Data will ask the persistent store to de[详细]
2023-01-28 20:00 分类:问答Adding ivar to an NSManagedObject subclass
I have a subclass of NSManagedObject Class used with Core Data in iPhone. However, I have a temporary \"field\" (ivar) that I want to add in that Class (but I dont want to persist it开发者_开发技巧 in[详细]
2023-01-27 02:23 分类:问答iPhone & Core Data - Removing NSManagedObject?
I\'m trying to remove a managed object context, but instead of removing the object itself it sets all instant variables to null.[详细]
2023-01-26 14:53 分类:问答NSManagedObject Core Data - request for member 'attribute name' in something not a structure or union
Scenario: I created a xcode project called \"Importing\" which I read an XML file in and import content into my core data database. I then have a second \"main\" project where I add the SQLite file i[详细]
2023-01-24 04:28 分类:问答NSManagedObject init/dealloc equivalent
I have an object ivar foo inside a NSManagedObject subclass bar that I need to be there at all times, as long as the object exists.[详细]
2023-01-23 23:13 分类:问答Saving an instance of an NSManagedObjectContext does not permanently save a mutable transformable attribute
I\'m using Core Data + sqlite as a data cache. The app reads in a file into core data, then uses Core Data to run the app. Saves are done to both the NSManagedObjectContext and to the file. I\'ve noti[详细]
2023-01-21 15:14 分类:问答Is it possible to have Core Data sort the "many" part of a To-Many relationship during a fetch request?
I\'m using Core Data to cache a decent amount of information, and I have a To-Many relationship set up among my managed objects. Naturally I use an NSFetchRequest to fetch an array of the singular sid[详细]
2023-01-21 06:22 分类:问答insertNewObjectForEntityForName returns wrong type
I\'ve been pulling my hair for the last few hours trying to figure out why insertNewObjectForEntityForName is returning NSManagedObject even though I\'m trying to insert an entity of my own type.[详细]
2023-01-20 02:30 分类:问答Core Data Saving to Database not Working
I\'m a first time Core Data user/learner for iPhone, I thought that [managedObjectContext save:$error] was used to save changes to the Persistant Store.[详细]
2023-01-20 02:00 分类:问答