23. Property Lists

Cocoa uses property lists (also called plists, after the common extension for property-list files) everywhere. They are the all-purpose storage medium for structured data, both for application resources and even application documents. Though I’ve put this chapter into the OS X section of this book, property lists are important to iOS developers, as well.

Image Many of Apple’s standard formats for configuration files are simply specifications of keys and trees for property lists. If you want a configuration file of your own, you could do much worse than a specialized plist file.

In particular, applications on iOS and OS X alike include ...

Get Xcode 6 Start to Finish: iOS and OS X Development, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.