core-data
CoreData: How to handle inheritance dynamically?
e.g., I\'ve 开发者_如何学Cgot three classes in my CoreData-project: Person, Pupil and Teacher. Pupil and Teacher have Person as parent class.[详细]
2023-04-08 20:37 分类:问答iPhone - sorting "10, 20, 30" the correct order with core data
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:[详细]
2023-04-08 20:09 分类:问答Should unit tests use different managed object context to the main app?
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[详细]
2023-04-08 18:35 分类:问答Relationship Set disappears in Core Data with multiple contexts
I have an an entity A which has a to-many relationship with entity B along with the respective inverse relationship.[详细]
2023-04-08 16:11 分类:问答Remove an Object/Row from a Core Data Entity
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[详细]
2023-04-08 16:00 分类:问答Core Data NSPredicate casting key value
I have a data model which has values of type id that I was planning on开发者_C百科 casting appropriately when needed.[详细]
2023-04-08 15:25 分类:问答Must NSManagedObject subclasses by passed to the controller or should these objects remain only in the model
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.[详细]
2023-04-08 13:07 分类:问答Core Data get sum of values. Fetched properties vs. propagation
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[详细]
2023-04-08 10:31 分类:问答Confused about how fetchResultController works with MagicalRecord
I have a NSOperation subclass,this is the main method: (void)main { NSAutoreleasePool *Pool = [[NSAutoreleasePool alloc] init];[详细]
2023-04-08 08:59 分类:问答iPhone CoreData: Sort with umlauts
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[详细]
2023-04-08 03:26 分类:问答