O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Saving Data in iOS Apps – Core Data and Realm

Video Description

Learn how to save data in iOS apps

About This Video

  • Save data into an iOS app that can be retrieved later.
  • Create a fully functional to-do list application.
  • Learn how to install Realm and use it for your data needs.

In Detail

Apps that don't save any data are no fun. A grocery list app that doesn't save the user's list is useless. A game that doesn't save a user's high score has no challenge. In this course, you will learn how to save data in iOS in two important ways, with CoreData and with Realm.

Core Data is a data-saving framework built by Apple. If you want a job as an iOS developer it is essential that you have this skill on your tool-belt. Core Data allows you to save whole objects into a datastore of your choice (though more often than not you will use a database). Then you can retrieve these data objects when you want. To learn this skill you will create a to-do list app.

The next way to save data is using a tool called Realm. Realm is an open source, a third-party database that is much simpler to set up than CoreData. We will cover the pros and cons of using Realm and how it can make your applications better.