PDA

View Full Version : Array and Dictionary




naphatkrit
Aug 7, 2011, 09:21 PM
I'm sorry if this question has been asked before, but what exactly is the difference between an array and a dictionary in a plist file? When do I use an array and when do I use a dictionary?



chown33
Aug 7, 2011, 09:28 PM
Read the Collections Programming Topics (http://developer.apple.com/library/mac/#documentation/cocoa/Conceptual/Collections/Collections.html) guide.

Then read the Property List Programming Guide (http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/PropertyLists/Introduction/Introduction.html).

You won't understand what dictionary or array in a plist is, until you understand what a dictionary or array fundamentally is.

naphatkrit
Aug 7, 2011, 09:49 PM
thanks, I'll check them out.