nsfetchrequest
Is having a NSFetchRequest with an NSPredicate supported in MonoTouch
I have tried the following using an NSPredicate and am not getting the results I would expect: NSFetchRequest request = new NSFetchRequest ();[详细]
2023-04-13 09:18 分类:问答NSFetchedResultsController `performFetch:` Results No Longer Sorted
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 ([详细]
2023-04-05 17:04 分类:问答NSFetchRequest fires NSInvalidArgumentException when query ontains apostrophe
When I create query, that contains apostrophe, I got error: \'NSInvalidArgumentException\', reason: \'Unable to parse the fo开发者_开发技巧rmat[详细]
2023-04-05 14:39 分类:问答CoreData Sort By NSDate not work?
In Code: - (NSFetchedResultsController *)getFetchedResultsController { if (_fetchedResultsController != nil) {[详细]
2023-04-04 16:58 分类:问答Update Core Data records <fault>
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[详细]
2023-04-02 19:41 分类:问答NSFetchResultsController predicate problem
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).[详细]
2023-04-01 21:19 分类:问答NSExpressionDescription for empty result sets
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[详细]
2023-04-01 18:40 分类:问答NSFetchedResultsController/NSFetchRequest vs. NSManagedObject's to-many relationship
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[详细]
2023-04-01 14:24 分类:问答Stored NSFetchRequest returns error "A fetch request must have an entity"
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[详细]
2023-03-29 13:44 分类:问答fetching particular predicate from database
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[详细]
2023-03-28 03:32 分类:问答