In this chapter, we will look at some of the most useful and commonly used options available for persisting data to disk.
You will learn about the following:
- The Foundation-supplied user-defaults object
- Storing simple and complex object types
- The NSCoding protocol
- NSKeyedArchiver and NSKeyedUnarchiver
- Creating NSCoding--compliant classes
- Presenting the user with open and save dialog boxes
This chapter will use a simple interface that will allow the user to save and load various types of data using different frameworks and file locations.