When using NSCoder
and NSKeyedArchiver
, I understand the data is stored in binary format. Therefore, what is the most appropriate file extension for a storage file? Many tutorials use .plist, but I believe this should be text property lists ~ key / value pairs.
Asked
Active
Viewed 327 times
3

jscs
- 63,694
- 13
- 151
- 195

Paul Williams
- 386
- 7
- 20
-
1Plist data (including such data contained in a .plist file) does not have to be a dictionary and can be in any of the three plist encoding formats. Anything that decodes plists should be able to handle any of the three formats (as NSPropertyListSerialization is), and any application that reads plists should at least check that it has the right kind of root object. – Peter Hosey Jan 16 '12 at 22:18