title: array position objective-c
body: <p>I have an NSArray. Lets say that i have 3 objects inside it. e.g</p>
  
  <pre><code>test (
          {
          Code = A;
          Comment = "None ";
          Core = Core;
  },{
          Code = B;
          Comment = "None ";
          Core = Core;
  },{
          Code = C;
          Comment = "None ";
          Core = Core;
  })
  </code></pre>
  
  <p>I want to search for a 'Code' and return the array index. How can i do this? e.g. locate code 'b' and i would have '1' being returned (since its the second position within the array). </p>