title: iphone & Objective C - Filtering an array using NSPredicate?
body: <p>I have an array of objects (Users)
  each user has an nsset named "devices"
  Is it possible to filter so the array returns all users who have a device with a specific name.</p>
  
  <pre><code>NSPredicate *predicate = [NSPredicate predicateWithFormat:@"devices.category==%@", @"mobile"];
  myArray = [allUsersArray filteredArrayUsingPredicate:predicate];
  </code></pre>