Skip to Main Content
iOS SDK Programming A Beginners Guide
book

iOS SDK Programming A Beginners Guide

by James Brannan, Blake Ward
January 2011
Beginner content levelBeginner
544 pages
11h 36m
English
McGraw-Hill
Content preview from iOS SDK Programming A Beginners Guide

Chapter 15Property Lists and Archiving

Key Skills & Concepts

• Understanding the iOS directory structure

• Persisting a collection as a property list

• Archiving an object hierarchy

In this chapter, you learn how to persist your data to a file using properties and then how to persist your data using archiving. However, before learning about these two topics, you briefly explore the iOS’s file system.

An iOS Application’s Directory Structure

Persisting and archiving require writing data to a file, but an iOS application can only read and write to files in the application’s sandbox. When installed, an application is placed in its own home directory. This directory is the application’s root directory and should be left untouched, lest you risk corrupting ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning iPhone Development with Swift 5: Exploring the iOS SDK

Beginning iPhone Development with Swift 5: Exploring the iOS SDK

Wallace Wang
Beginning iOS 5 Development: Exploring the iOS SDK

Beginning iOS 5 Development: Exploring the iOS SDK

Dave Mark, Jack Nutting, Jeff LaMarche

Publisher Resources

ISBN: 9780071759083