I am trying to save multiple rows into my coredata database using the following code. It only saves the last row. Why is it doing that?
All, Is it possible to save to the top of the CoreData? If so, how? For example, every time something is added to the data store, I want it to be inserted at the to开发者_开发问答p. This way, when
I currently have my app settings stored in an Entity called Settings. Each of my setting开发者_如何学Gos is an attribute. I have one Settings object which I load in my app delegate, and I access it th
I have an iPad app with quite a bit of text data in Core Data (approx 75MB). New data is imported weekly. The import happens on a secondary thread with its own NSManagedObjectContext and even its own
My iOS application uses CoreData to store many things, and NSUserDefaults to store other things that CoreData would be overkill for.
I\'d like to implement a dynamic property on a Core Data model but am unclear as to whether this is supported, and if so... how?
I see that there is a method of getting the unique id of a managed object: NSManagedObjectID *moID = [managedObject objectID];
I\'m using Core Data to store entities in the form TrackerEntry username timestamp I want to select the latest record for each user. Using sql it would be something like
I have the following entities: User. The common user entity with username, mail, etc. ComputerUserWithAI. Similar to user but it\'s controlled by the application.
Let\'s say that I am creating reference app, using Core Data, for animals. Each Animal lives in a Habitat, and has a Classification. A Classification might have sub-Classifications (modelled in Core D