title: Objective-C: writing values to a specific index of an Array inside a  .plist
body: <p>I understand I can for instance write a value to a .plist file as such </p>
  
  <pre><code>NSString *filePath = [[NSBundle mainBundle] pathForResource:@"stored" ofType:@"plist"];
  NSString *comment = @"this is a comment"; 
  [comment writeToFile:filePath atomically:YES];
  </code></pre>
  
  <p>But If i had for say an Array inside my .plist (gameArray) and I'd like to white <code>comment</code> into a particular index of my array i.e. <code>gameArray[4]</code> ; how would I do this ? </p>
  
  <p>allow me to clarify</p>
  
  <ul>
  <li>I have a plist: <code>stored.plist</code></li>
  <li>inside my plist there is an array <code>gameArray</code></li>
  <li>i would like to update specific indexes of <code>gameArray</code> inside the plist 
  is this possible ? </li>
  </ul>