I have tried the following using an NSPredicate and am not getting the results I would expect: NSFetchRequest request = new NSFetchRequest ();
I managed a tableview with NSFetchedResultsController whose fetch request uses a simple sort on a date attribute. It sorts properly when it first loads but when I refresh or call the loadMore method (
When I create query, that contains apostrophe, I got error: \'NSInvalidArgumentException\', reason: \'Unable to parse the fo开发者_开发技巧rmat
In Code: - (NSFetchedResultsController *)getFetchedResultsController { if (_fetchedResultsController != nil) {
I m trying to update some records in Core Data. I m adopting following steps to get it done Fetch function with predicate retrieves the records from the Core Data
I\'m having problem how to formulate NSPredicate to get correct data. I have three entities (Offer, List, Item) and an entity OfferMatch wchich matches an offer for each pair (List, Item).
Using Core Data, I have a fetch request to fetch the minimum of a certain attribute using an expression. If I set a predicate on the request that results in no results being matched, I get EXC_BAD_ACC
I am presenting an NSManagedObject hierarchy (basically three levels) with different view controllers on iOS. The issue I don\'t completely understand is that if there is need for NSFetchedResultsCont
I added a fetched property to my entity at data model. I did not add its predicate. I retrieve it with fetchRequestTemplateForName, but when execute it I got this error \"executeFetchRequest:error: A
I have 4 CoreData database. Each actually having their own value. But it is too heavy and i would like to reduce it to 1 Database. So each time i want to pull information from the database, i can choo