I have tried the following using an NSPredicate and am not getting the results I would expect: NSFetchRequest request = new NSFetchRequest ();
I have a CoreData/SQLite application in which I have \"Parent Categories\" and \"Categories\". I do not have control over the data, some of the \"Parent Categories\" values have trailing white spaces.
I am trying to retrieve results from search bar text in Core Data on a pro开发者_如何学JAVAperty that is an NSNumber.
I\'m trying to get a distinct result from NSPredicate. My code: NSFetchRequest *request = [[NSFetchRequest alloc] init];
I\'m having the case where I have the database of items. Each item can have multiple locations. Now 2 questions:
I\'m still fairly new to using NSPredicate, but I\'ve got a somewhat complica开发者_运维技巧ted issue and I\'m not quite sure the best way to go about a solution.
I want to search data from nsdictionary based on different criteria.Say I have 4 keys and user can search based on any number of keys ex:4,3 etc..Ex:I have dictionary containing keys(First Name,Last N
I have a data model which has values of type id that I was planning on开发者_C百科 casting appropriately when needed.
I am stuckup with below line and i am not have much knowledge on coredata , `NSPredicate *predicate = [NSPredicate predicateWithFormat:@\"(bookPath == %@) AND (accessed==%u)) AND (isCurrentSession==%
I need to use NSPredicate with a round function. e.g. : Child* child1 = [self myFirstChild]; NSPredicate *predicate = [NSPredicate predicateWithString:@\"round(SELF.age) > 12\"];