title: Find a specific object in many different arrays
body: <p>If I have 10 children (objects), and each child goes to a different school (array), and wheres a different shirt (value in object). What would be the best way to find a specific child based on the shirt color? </p>
  
  <p>Right now, I do this, which seems a bit long: </p>
  
  <pre><code>      Match *match; 
        match.match_id = @"The match id i want to find": 
  
        //Check array 1 for the object
        for (Match *tempMatch in matchesGrouped)
           {
               if (tempMatch.match_id == match.match_id)
               {
                   match = tempMatch; 
                   matchFound = YES; 
                   break; 
               }
           }
  
        //Check array 2 for the object
        for (Match *tempMatch in matchesSingle)
           {
               if (tempMatch.match_id == match.match_id)
               {
                   match = tempMatch; 
                   matchFound = YES; 
                   break; 
               }
           }
  
         etc for the rest of the arrays... 
  </code></pre>
  
  <p>match_id is an unique integer for each match. </p>
  
  <p>Thanks in advance</p>
  
  <p>EDIT: </p>
  
  <p>The match looks like this: </p>
  
  <pre><code>@interface Match : UIViewController &lt;NSCoding&gt; 
  {
  
  }
  
  //Match
  @property (nonatomic) int match_id; 
  @property (nonatomic) int matchStatus; 
  @property (nonatomic) int numberOfPlayers; 
  etc...
  </code></pre>