title: How to search an NSSet or NSArray for an object which has an specific value for an specific property?
body: <p>How to search an NSSet or NSArray for an object which has an specific value for an specific property?</p>
  
  <p>Example: I have an NSSet with 20 objects, and every object has an <code>type</code> property. I want to get the first object which has <code>[theObject.type isEqualToString:@"standard"]</code>.</p>
  
  <p>I remember that it was possible to use predicates somehow for this kind of stuff, right?</p>