This hierarchical nesting of objects creates a graph of objects. Dictionaries and arrays are special types because they are collections they can contain one or multiple data types, including other dictionaries and arrays. Property lists consist only of certain types of data: dictionaries, arrays, strings, numbers (integer and float), dates, binary data, and Boolean values. Both Cocoa Foundation and Core Foundation have APIs related to property list serialization and deserialization. Applications can later read the static representation back into memory and recreate the original hierarchy of objects. Property lists are easy to create programmatically and are even easier to serialize into a representation that is persistent. They are hierarchies of data made from specific types of objects-they are, in effect, an object graph. Property lists give applications a lightweight and portable way to store small amounts of data. A property list is a representation of a hierarchy of objects that can be stored in the file system and reconstituted later.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |