Almost every application needs to have permanent data storage on the filesystem. In this chapter, we will discuss different ways of storing data. We will see how to create a SQLite database and manage data with it from within an iPhone application. Also, we will learn how to use an already existing database in a project.
Note
SQLite (http://www.sqlite.org) is a self-contained transactional database system. Each database is saved in a standalone file and there is no database server. In iOS, SQLite support is native.
Following SQLite, we will have a look at iCloud storage and how to incorporate it in our apps.