Saving Data in iOS Apps – Core Data and Realm

Learn how to save data in iOS apps

What's Inside

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.

About the Author

Nick Walter, an iOS developer, has been focused on mobile app design and creation for over 5 years. His involvement in the iOS community started off with a bang, and in 2013 he was one of the 25 students worldwide to be invited to Apple's "Cocoa Camp." Within the community, he is also co-president of an Apple developer group called "Cocoa Heads." He always wanted to transform brand-new ideas into reality, but growing up in a small town he had limited access to the required programming resources. This led to his early interest in online education. After experimenting with various companies, learning styles, and teaching processes, he adopted the best strategies and applied them while creating his courses. Since the announcement of the new Swift programming language by Apple, he has devoted himself to the Apple documentation and any online resource that was available. Prior to teaching the internet's first course on Swift, he created 5 iOS apps from scratch; they are currently live in the App Store and being used by thousands of users worldwide.

This course is closed for enrollment.

8 Lectures
2+ Hours of Video
Lifetime Access
24/7 Support
Instructor Rating
Packt Publishing

Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals. Working towards that vision, it has published over 4,000 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done–whether that’s specific learning on an emerging technology or optimizing key skills in more established tools.

Popular Bundles