title: Create a plist iPhone SDK
body: <p>I am trying to set up a method that creates a .plist file at a given file path, however my current code only works for modifying a plist. Is there an easy way to create the plist file? This is simply a first draft of the method, the final version will take a variable for the course_title. Thanks</p>
  
  <pre><code>- (void)writeToPlist{
      NSString *filePath = [NSString stringWithFormat:@"%@/course_title", DOCUMENTS_FOLDER];
      NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:filePath];
  
      [plistDict setValue:@"1.1.1" forKey:@"ProductVersion"];
      [plistDict writeToFile:filePath atomically: YES];    
  }
  </code></pre>
  
  <p>Thanks for the code goes to <a href="http://www.ipodtouchfans.com/forums/showthread.php?t=64679" rel="nofollow noreferrer">http://www.ipodtouchfans.com/forums/showthread.php?t=64679</a></p>