I need to save about 14 NSDictionaries to a plist. Each Dictionary is going to have 5 item. 1- name of the place
2- starting time
3- finishing time
4- Total
5- Additional notes
I’ve been reading and people are advising against using plist for large amount of data. With the description given above is it wise to use plist?
Cheers,
Sma
I need to save about 14 NSDictionaries to a plist. Each Dictionary is going
Share
Not sure what number of dictionaries would be considered “large” in this case, but it would be measured in the thousands. The big concern would be the amount of RAM the plist’s objects consume when read into memory. 14 dictionaries containing small objects like you describe won’t take up much at all.
The big benefit of using something like CoreData instead would be the ability to fetch small subsets of your data without having to load all your items and their contents. This saves RAM and also makes random access tasks like search more pleasant. (and CoreData also give you some nice freebies like undo support). But it seems like even up to 1000 items, it’d just as quick to read everything into RAM and sort it out there.