iOS Persistence and Core Data

  • 0.0
Approx. 2 months

Brief Introduction

Just like computers, your iPhone has two types of memory: main memory (RAM) and the hard drive. In all the apps you’ve written, you’ve interacted with RAM, but this memory is limited, and it’s important that the apps you design use it as efficiently as possible. To use the RAM efficiently it is important to be able to store data on the hard drive. It is also important for your apps to maintain state when they are turned off. The apps you’ve built probably aren’t persistent, meaning that they don

Course Summary

Learn how to persist data in iOS applications using Core Data. This course covers the basics of setting up a Core Data stack, managing data models, and performing data manipulations.

Key Learning Points

  • Understand the Core Data stack and how it fits into the iOS application architecture
  • Learn to create and manage data models using the Core Data Model Editor
  • Perform basic data manipulations such as inserting, updating, and deleting records in Core Data
  • Implement advanced Core Data features such as multi-threading and iCloud integration

Related Topics for further study


Learning Outcomes

  • Understand how to implement data persistence in iOS applications using Core Data
  • Be able to create and manage data models using the Core Data Model Editor
  • Be able to perform basic and advanced data manipulations using Core Data

Prerequisites or good to have knowledge before taking this course

  • Basic knowledge of iOS app development
  • Experience with Swift programming language

Course Difficulty Level

Intermediate

Course Format

  • Self-paced
  • Online
  • Project-based

Similar Courses

  • iOS App Development Basics
  • iOS Networking with Swift

Related Education Paths


Notable People in This Field

  • Paul Hudson
  • Natasha The Robot
  • John Sundell

Related Books

Description

Persisting data is a core skill for any iOS developer. Learn how to store app data to your device using three common techniques: NSUserDefaults, Sandbox, and Core Data.

Requirements

  • This course assumes extensive iOS experience. Specifically, you’ve built several apps, know how to use core iOS libraries, and are familiar with networking and MVC design principles. Introduction to iOS App Development with Swift , UIKit Fundamentals , and iOS Networking with Swift are good courses to take if you need to familiarize yourself with these concepts. The course also assumes basic familiarity with git. Specifically, you will need to be able to clone git repositories and checkout branches specific to each lesson. How to Use Git & GitHub is a great option if you need to brush up on these skills. You will need access to a Mac computer running OS X 10.9 or later. However, you do not need an iPad or iPhone to complete the activities. All exercises can be completed using the iOS simulator built into Xcode. See the Technology Requirements for using Udacity. See the Technology Requirements for using Udacity.

Knowledge

  • Instructor videosLearn by doing exercisesTaught by industry professionals

Outline

  • lesson 1 Simple Persistence Learn about simple persistence and how to save small pieces of data. Set user preferences using NSUserDefaults in an existing app. Enable an app’s user preferences to appear in the Settings app. lesson 2 The iOS File System Learn about the iOS File System and your app’s sandbox. Read and save files using NSFileManager in an existing app. Understand the performance implications of atomic (all-at-once) file operations. lesson 3 Introducing Core Data Meet Core Data Apple’s framework for managing the data layer. Explore what a data layer is. Convert a non-Core Data note-taking app to have a Core Data model. lesson 4 The Core Data Stack Set up the classes we need to get Core Data up and running. Use the stack to manage model object creation and deletion. Persist changes so that data stays put when you restart the app or device. lesson 5 Simpler Code with Core Data Enable user interfaces to reactively update whenever the model changes. Set up an NSFetchedResultsController to observe data changes and notify the UI. Create a new version of a data model modify a table view to work with a fetched results controller and turn on caching. lesson 6 Core Data & Concurrency Update the data model and safely migrate user data between versions. Work with multiple managed object contexts for different types of tasks. Keep the user interface responsive by sending lengthy tasks to a background queue.

Summary of User Reviews

Discover the latest techniques for iOS app development with the iOS Persistence and Core Data course from Udacity. This course has received high praise from many users for its comprehensive approach to teaching the fundamentals of iOS app development through hands-on exercises and real-world examples. One key aspect that users found particularly good was the course's emphasis on data persistence and management, which are essential skills for any app developer.

Pros from User Reviews

  • Comprehensive approach to iOS app development
  • Hands-on exercises and real-world examples
  • Emphasis on data persistence and management

Cons from User Reviews

  • Some users found the course to be too basic
  • Some users felt that the course didn't provide enough depth on certain topics
  • Some users experienced technical difficulties with the course materials
Free
Available now
Approx. 2 months
Fernando Rodriguez, Eden Shapiro, Kate Rotondo
Udacity

Instructor

Share
Saved Course list
Cancel
Get Course Update
Computer Courses