Chapter 8. Property Lists
Before continuing, we need to consider property lists. A property list is a simple, structured data format that is used throughout Mac OS X. Preference files, configuration files, the Info.plist
files that specify bundle properties to the OS, and sometimes even application data files are all applications of the property list format. It’s easy to use and powerful enough to serve as at least the first cut at most data storage problems and is the language of many OS services.
Data Types
A property list consists of one item of data, expressed in one of seven data types. Five property list types are scalar—number, Boolean, string, date, and data—and two are compound—ordered list and dictionary. An ordered list can contain zero ...
Get Step into Xcode Mac OS X Development 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.