Book Image

Saving Data in iOS Apps - Core Data and Realm [Video]

By : Nick Walter
Book Image

Saving Data in iOS Apps - Core Data and Realm [Video]

By: Nick Walter

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p> <h2>Style and Approach</h2> <p>This video is a step-by-step guide to helping the audience get started with iOS application development by providing a solid foundation in the core iOS concepts, techniques, and the Swift programming language. With every part of the course packed with practical examples, you'll understand how iOS development works, the latest features of iOS 11, and when and where to apply the core iOS techniques.</p>
Table of Contents (3 chapters)
Chapter 3
Realm
Content Locked
Section 2
ToDo Realm
The aim of this video is to learn how to swap out Core Data with Realm in our app. - Set up saving things in our Core Data - Replace Core Data with Realm for the ToDo app