Chapter    11

Storing Information

As a developer, there will be many different situations in which you will need to store data. Users will expect your application (app) to remember preferences and other information each time they launch it. Previous chapters discussed the BookStore app. With this app, users will expect your application to remember all of the books in the bookstore. Your application will need a way to store this information, retrieve it, and possibly search and sort this data. Working with data can sometimes be difficult. Fortunately, Apple has provided methods and frameworks to make this process easier.

This chapter will discuss two different formats in which data will need to be stored. It will discuss how to save preferences ...

Get Swift for Absolute Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.