title: Retrieve elements from an array in a dictionary
body: <p>I am new to objective C and I really need help with the following problem. I have a dictionary userDetails which contains array userAttributes </p>
  
  <pre><code> int y=0;
   for (int z=0;z&lt;noOfNeighbours;z++) {
  NSMutableArray *userAttributes = [userDetails objectForKey:[employeeID objectAtIndex:z]];
              [userAttributes addObject:[NSString stringWithFormat:[myArrayOne objectAtIndex:17+y]]];
              [userAttributes addObject:[NSString stringWithFormat:[myArrayOne objectAtIndex:18+y]]];
              [userAttributes addObject:[NSString stringWithFormat:[myArrayOne objectAtIndex:22+y]]];
               y=y+17;
              //NSLog(@"%@",[userAttributes objectAtIndex:0]);
      }
  </code></pre>
  
  <p>where myArrayOne is a string array containing all the information. I am using employeeID array as key. How do I retrieve the information stored in the array for a particular key??
  Thanks in advance.</p>