In the commit of UITableView I delete an object using the following code: [_context deleteObject:[_StudiessList objectAtIndex:indexPath.row]];
My situation is simple: I have some records in my core data store. One of their attributes is a string called \"localId\". There\'s a point where I\'d like to find the record with a particular localId
This is a follow up question to my previous question on: Core data: Managing employee contracts in a many-to-many relationship?
Hey, I\'ve created a custom retrieval method for database access: +(NSArray*) recordsForTable:(NSString *)table predicate:(NSPredicate *)prd{
I don\'t understand the meaning of开发者_JAVA技巧 setFetchBatchSize. In the following code, I set the fetch batch size to 20, but I still get 49 objects in my results array (which are ALL the objects
I have a 开发者_StackOverflowtable view controller which fetches items using fetched results controller for each row. When a row is selected it pushes a new view controller to edit that particular man
Could any one tell me what\'s the wrong with this code? It raises the following error and cause application to crash:
I have encountered behavior with the FRC and TableView delegates that appears to be inconsistent: The initial call to performFetch causes the delegate methods to be called as expected. However, if
I can easily get an object\'s ID in Core Data using the following code: NSManagedObjectID *moID = [managedObject objectID];
I have a SQLite-backed core data storage and would like to fetch a list of managed objects using NSFetchRequest. I want said list to be sorted by a boolean value that can be easily calculated at the d