title: indexOfObject in an NSMutableArray returning garbage value
body: <p>Trying to get index on an object in NSMutableArray. It is returning some garbage value, not getting why it is not returning index of particular item. Below is code i tried.</p>
  
  <pre><code>NSString *type = [dictRow valueForKey:@"type"];
  
  if([arrSeatSel indexOfObject:type])
  {
      NSUInteger ind = [arrSeatSel indexOfObject:type];
      [arrTotRows addObject:[arrSeatSel objectAtIndex:ind]];
  }
  </code></pre>
  
  <p>type contains value "Gold". And arrSeatSel contains</p>
  
  <pre><code> (
  "Gold:0",
  "Silver:0",
  "Bronze:1"
  </code></pre>
  
  <p>How to check that. Please guide.</p>