Top "Nspredicate" questions

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.

Core Data: NSPredicate for many-to-many relationship. ("to-many key not allowed here")

I have two entities named "Category" and "Article" which have a many to many relationship. I want to form a …

core-data ios nspredicate
NSArray with NSPredicate using NOT IN

I have an NSArray that I want to filter out certain objects using an NSPredicate, I was hoping I could …

ios objective-c nsarray nspredicate
How to sort NSPredicate

I am trying to sort my array while using NSPredicate.. I have read other places that possibly using NSSortDescriptor could …

cocoa-touch cocoa nspredicate
NSPredicate on an NSArray to search for any object

I have an array of objects with names, addresses, tel. nos, etc. I want to be able to search the …

ios objective-c arrays nspredicate
NSPredicate - Unable to parse the format string

I am trying to write a NSPredicate to fetch rows with my_column value with this string "193e00a75148b4006…

ios core-data nspredicate
Filtering NSDictionary with predicate

I am using a NSDictionary that itself contains dictionaries some keys and its values.The format is like , { "1" = { "key1" = "ss", "…

iphone objective-c nsdictionary nspredicate
NSPredicate with Multiple parameters

Hello Need help with predicate. The problem is that I want to have one function which will fetch from database …

xcode core-data nspredicate
Filter Array with dictionaries using NSPredicate

There is an Array with each element being a NSDictionary. NSMutableArray *mutArr = [NSMutableArray array]; for (Person *person in persons) { NSDictionary *…

iphone ios nsarray nspredicate
iOS CoreData NSPredicate to query multiple properties at once

I am trying to use a UISearchBar to query multiple properties of a NSManagedObject I have a NSManagedObject called Person, …

ios core-data nspredicate nsfetchrequest
Using NSPredicate to search an array with an array

I have an array of Card objects (NSObjects), each with a field called tags, which is an NSArray of NSStrings. …

objective-c ios nspredicate