The NSPredicate class is used in Mac OS X and iOS development to define logical conditions used to constrain a search either for a fetch or for in-memory filtering.
I've got the following setup: @interface Item : NSObject { NSInteger *item_id; NSString *title; UIImage *item_icon; } @property (nonatomic, copy) NSString *…
objective-c nsarray nspredicate kvcI am trying to create a NSPredicate with multiple conditions. I've found several solutions, but none of them appear to …
ios objective-c nspredicatehi i have Core Data database with numerical attributes. they are NSNumbers. Default value is 0.0 but when i try to …
iphone nspredicate nsnumberBased on the data model below And based on user input I create a NSSet of managedObjects of entity Tag …
objective-c ios core-data nspredicateI have an array of type "Restaurant" which has an NSSet of "Rating." Rating has an ID and a value. …
objective-c nsarray nspredicate nssortdescriptorI'm trying to get a distinct result from NSPredicate. My code: NSFetchRequest *request = [[NSFetchRequest alloc] init]; NSEntityDescription *entity = [NSEntityDescription entityForName:@"…
iphone ios core-data nspredicate distinct-valuesCan someone please help me with using Regex with NSPredicate? NSString *regex = @"(?:[A-Za-z0-9])"; NSPredicate *pred = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", …
objective-c regex nspredicateIs this how I'm supposed to pass a Date to NSPredicate.init(format predicateFormat: String, arguments argList: CVaListPointer). let endDate = …
swift swift3 nsdate nspredicate foundationTo simplify: There are 3 columns in a table named cards. id packTitle term id is a column - integers from 0.....100 …
objective-c ios core-data nspredicateI've read other posts about this crash having something to do with the predicate returning nil but im unable to …
nspredicate nsfetchedresultscontroller invalidargumentexception