Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSPredicate check for kind of object class
- [NSPredicate predicateWithFormat: @"className == %@", [someObject className]]
- [NSPredicate predicateWithFormat: @"class == %@", [someObject class]]
- NSPredicate* foo = [NSPredicate predicateWithFormat: @"className == %@", @"MyCustomView"];
Add Comment
Please, Sign In to add comment