YoVDO

Core Data in iOS: 2 Intermediate Topics

Offered By: LinkedIn Learning

Tags

iOS Development Courses SwiftUI Courses Data Migration Courses Multithreading Courses

Course Description

Overview

Learn about Core Data topics such as fetching data, sorting, using Core Data in a multithreaded environment, syncing Core Data with CloudKit, migrations, and more.

Syllabus

1. Fetching Data from Core Data Store
  • Understanding how Core Data executes a fetch request
  • Understanding faults
  • Understanding the starter project
  • Filtering by release date
  • Filtering by date range
  • Filtering by date range or rating
  • Filtering by movie title begins with
  • Filtering by actor name
  • Filtering by review count
2. Sorting Using FetchedResultsController and @FetchRequest
  • Understanding the starter project
  • Implementing FetchedResultsController
  • Conforming to NSFetchedResultsControllerDelegate
  • Implementing @NSFetchRequest in SwiftUI
3. Core Data in a Multithreaded Environment
  • Understanding the Core Data multithreading model
  • Creating background context in Core Data
  • Sending results to the viewContext using complete handlers
  • Fetching managed objects using objectId
  • Using performBackgroundTask
  • Subscribing to context change notifications in Core Data
  • Merging managed object contexts
4. Syncing Core Data with CloudKit
  • What is CloudKit?
  • Understanding the starter project
  • Updating code to use CloudKit
  • Exploring CloudKit dashboard
5. Migrations
  • What are migrations?
  • Performing a simple migration
  • Performing migration using model map
6. Miscellaneous
  • Core Data using MVVM and NSFetchedResultsController
  • Saving images using Core Data
Conclusion
  • Next steps

Taught by

Mohammad Azam

Related Courses

iOS 14 Getting Started
Pluralsight
Building Your First iOS 13 App
LinkedIn Learning
iOS 13 Development Essential Training: 1 Fundamentals, UI, and Architecture
LinkedIn Learning
iOS Development Tips Weekly
LinkedIn Learning
Swift 5: Protocol-Oriented Programming
LinkedIn Learning