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.