Is it possible to filter an NSArray by class?

Posted by Corey Floyd on Stack Overflow See other posts from Stack Overflow or by Corey Floyd
Published on 2010-03-31T16:57:13Z Indexed on 2010/03/31 17:33 UTC
Read the original article Hit count: 320

Is there a way construct a predicate to filter by class type?

I currently loop through the array and check to the class of each object. Maybe there is a cleaner way?

© Stack Overflow or respective owner

Related posts about nsarray

Related posts about nspredicate