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.
Ok I have a basic iPad app that asks for 5 search/filter criteria from the user. Based on this data, …
iphone core-data nspredicate nsfetchrequestI'm stumped trying to write a predicate for "Recently Completed" tasks, i.e. show the task if it was completed …
objective-c core-data nspredicateI have an entity called Band which has a to-many relationship to a Category entity. The Category entity just contains …
iphone objective-c ios core-data nspredicateI had issues with this and I haven't found a proper answer on SO so I'll leave a small tutorial …
swift core-data swift3 nspredicateI'm trying to fetch objects from core data that are not in a given set, but I haven't been able …
iphone objective-c core-data nspredicateI have an NSDate attribute called startDate stored in the persistence store in the following format (picture below). 426174354 = July 04, 2014 I …
ios ios7 nsdate nspredicate nsfetchrequestIs there a way construct a predicate to filter by class type? I currently loop through the array and check …
objective-c cocoa cocoa-touch nsarray nspredicateI have a NSMutableArray of NSNumbers. Basically I just want to check if any of the NSNumbers in the array = …
objective-c nsmutablearray nspredicate nsnumberI have an array of UIView objects. I want to call - (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate on this array to …
iphone objective-c ios nspredicateApologies for a quirky title. I have an array of Ints and I would like to define an NSPredicate that …
swift nspredicate