Hello,
i'm updating my app from iPhone 1.x to 2.x all works fine, but i would like to store my prefs in a .plist file instead of a .dat file :hack:
Could anyone point me in de right direction to read and write to a .plist file
thanks in advance
Printable View
Hello,
i'm updating my app from iPhone 1.x to 2.x all works fine, but i would like to store my prefs in a .plist file instead of a .dat file :hack:
Could anyone point me in de right direction to read and write to a .plist file
thanks in advance
You can use NSUserDefaults and forget about the format itself (although it will use plists) or you can use NSArray/NSDictionary writeToFile .
thanks i didn't think it was that easy
Does anybody know where I can get a list of commands and descriptions for the plist file?