title: NSMutableDictionary with single key holding many values in Objective-C programming
body: <p>Please tell me how can we have multiple values for the same key in NSMutableDictionary?</p>
  
  <p>When I use the below approach, the values are being replaced with the recent one.</p>
  
  <p>In my case:</p>
  
  <pre><code>[dictionary setObject:forename forKey:[NSNumber numberWithint:code]];
  [dictionary setObject:surname forKey:[NSNumber numberWithint:code]];
  [dictionary setObject:reminderDate forKey:[NSNumber numberWithint:code]];
  </code></pre>
  
  <p>When I view the contents of the dictionary, I get only the <code>reminderDate</code> for key code. Here, the code is same for all values. How do I avoid forename and surname being replaced by <code>plannedReminder</code>.</p>
  
  <p>Thank You!</p>