Organizing Plist data tips
Hello,
I have read some documentation about plists and decided that I need to use them for an application that I am creating. The data that I need to store would be as follows:
Amount Date
Item 1: $100, 09/13/2011
Item 2: $99, 09/12/2011
Item 3: $98, 09/11/2011
So my questions is, when I create the plist how would I organize this type of data? Would I create an NSDictionary type for each item, with the corresponding data types (Number, Date.)
Or is this the wrong approach?
In case you need to know why I want to store this data, eventually I would need to access the data with core plot. Finally creating a plot showing date vs amount.
Guidance would be appreciated, thanks.
|