title: Objective C array "key" instead of index
body: <p>I want to be able to use <code>NSString</code>, or something similar to store an array of strings, but access them by a key (I think this is what it's called), instead of a numeric index.</p>
  
  <p>For example, instead of doing this:</p>
  
  <pre><code>return names[3];
  </code></pre>
  
  <p>Do something like this:</p>
  
  <pre><code>return names["Bob"];
  </code></pre>
  
  <p>How do you store and retrieve values like this?</p>
  
  <p>Please excuse my lack of knowledge of this. I've been working with Objective C for about a year now, but never had to do anything like this.</p>