12

SAVING BIRTHDAYS

Now you can add birthdays to your app and display them in a list, which is awesome! However, when you close the app, the birthdays disappear from your device. In this chapter, we’ll show you how to save your app’s data on your device so it’s there even after you quit the app.

STORING BIRTHDAYS IN A DATABASE

Data is stored on the iPhone in a database, which is a collection of data that can be quickly saved, updated, and retrieved. You can think of it as an electronic filing system where the data is stored in tables with rows and columns. In the database for our app, there will be a Birthday table to store the birthdays. This ...

Get Coding iPhone Apps for Kids, 1st Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.