Using PLists for Persistence on iPhone
Simple question about property lists within an iphone app. I know you can read data in from a plist, but is there a way to write user-inputted data to a plist? If so, how? It's easy to find tutorials on reading information from plists, but I'm having trouble finding resources on writing to plists. This is how I write data items to a plist: [myPlistFile setInteger: myInt forKey: @"someKey"]; Of course, you can change setInteger with setBool, etc for different types. Hope this helps! -- Edit: If your .plist was a member of an important class or similar... Header of myClass: NSUserDefaults*