I have an array of UIView objects. I want to call - (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate on this array to get array of <
UIView
- (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate
How about using -className as your key?
-className
NSPredicate* foo = [NSPredicate predicateWithFormat: @"className == %@", @"MyCustomView"];