title: Adding new key/value of type string to pList
body: <p>I am trying to add programmatically new row to my pList file on iPhone. But I can't find out how.
  I want to add key: someKey/ type: string/ someValue: string <br/></p>
  
  <pre><code>NSString *path = [[NSBundle mainBundle] pathForResource:@"MyPlist" ofType:@"plist"];
  
  NSMutableDictionary *plist = [[NSDictionary dictionaryWithContentsOfFile:path] mutableCopy];
  NSMutableArray *newArray = [[[NSMutableArray alloc] init] autorelease];
  newArray = [NSArray arrayWithObjects:@"someKey", @"someValue", nil];
  [plist setObject:newArray forKey:@"someKey"];
  [plist writeToFile:path atomically:YES];
  [plist release];
  </code></pre>