e.g., I\'ve 开发者_如何学Cgot three classes in my CoreData-project: Person, Pupil and Teacher. Pupil and Teacher have Person as parent class.
I have a string field on an entity. Every time I want to retrieve a sort list of entries and the entries contain numbers, the list comes like this:
All the managed object context code is located in my app delegate.Should I have similar 开发者_开发问答code in my unit test classes?For unit tests, I create an in memory managed object context specifi
I have an an entity A which has a to-many relationship with entity B along with the respective inverse relationship.
There are a couple answers similar to this (Like deleting an entire entity). But none that have worked for me. I am just looking for simple way to fetch the object I want to delete using NSPredicate a
I have a data model which has values of type id that I was planning on开发者_C百科 casting appropriately when needed.
The reason I ask is because I have separate domain objects which I map from the NSManagedObject subclasses so as to kee开发者_开发问答p my data access logic separate.
I\'m relatively new to Core Data (coming from an SQLite background). Just finished reading the \'Core Data for iOS\' book but I\'m left with a number of baffling questions when I started modelling an
I have a NSOperation subclass,this is the main method: (void)main { NSAutoreleasePool *Pool = [[NSAutoreleasePool alloc] init];
I have an app that fetches data (a list of countries) from an sqlite database. The countries are in German and contain umlauts, for example Österreich. I want to fetch those countries sorted by name