I like the ability to serialize plist for small collections of objects: it's simple, storage is XML, etc. But I believe that the values of the settings in the dictionaries are cumbersome:
[myDict setObject:keepThis forKey:@"ivar"];
I would prefer to use an object derived from classes (or even just structures):
myObj.ivar = keepThis
... and then send a message to the collection to get a plist. The classes / structures used for this purpose may be limited so that they can directly and easily display primitives of primitives; for example, myObj can be mapped to NSDictionary, and the requirement can be placed on ivars, so they are one of the plist primitives.
Has someone already built a tool for this, or do I need to minimize it?
source
share