Core Data in iOS: 2 Intermediate Topics
4h 58mIntermediate2022-06-09
Authors

Mohammad Azam
iOS Developer, Educator
Course details
This course prepares you to build your first Core Data app for the iOS platform. Instructor Mohammad Azam walks you through several key tasks and processes, starting with how to fetch data from the Core Data store. Once you have a thorough grasp on that process, Mohammad shows you how to sort using FetchedResultsController and @FetchRequest. He covers the Core Data multithreading model and how you can use it to create background context, send results, fetch managed objects, and more. Mohammad steps through syncing Core Data using CloudKit, including how to update code to use CloudKit and how to navigate the CloudKit dashboard. He explains migrations, how to perform them, and how to create a model map for more complex migrations, then finishes up with how to use an MVVM design pattern, how to use the NSFetchedResultsContainer to automatically refresh, and how to save images using Core Data.
Skills covered
iOS DevelopmentiOSMobile DevelopmentAppleEssential Training
Concepts
1. Fetching Data from Core Data Store
- 01 - Understanding how Core Data executes a fetch request
- 02 - Understanding faults
- 03 - Understanding the starter project
- 04 - Filtering by release date
- 05 - Filtering by date range
- 06 - Filtering by date range or rating
- 07 - Filtering by movie title begins with
- 08 - Filtering by actor name
- 09 - Filtering by review count
2. Sorting Using FetchedResultsController and @FetchRequest
- 10 - Understanding the starter project
- 11 - Implementing FetchedResultsController
- 12 - Conforming to NSFetchedResultsControllerDelegate
- 13 - Implementing @NSFetchRequest in SwiftUI
3. Core Data in a Multithreaded Environment
- 14 - Understanding the Core Data multithreading model
- 15 - Creating background context in Core Data
- 16 - Sending results to the viewContext using complete handlers
- 17 - Fetching managed objects using objectId
- 18 - Using performBackgroundTask
- 19 - Subscribing to context change notifications in Core Data
- 20 - Merging managed object contexts
4. Syncing Core Data with CloudKit
- 21 - What is CloudKit
- 22 - Understanding the starter project
- 23 - Updating code to use CloudKit
- 24 - Exploring CloudKit dashboard
5. Migrations
- 25 - What are migrations
- 26 - Performing a simple migration
- 27 - Performing migration using model map
6. Miscellaneous
- 28 - Core Data using MVVM and NSFetchedResultsController
- 29 - Saving images using Core Data
Conclusion
- 30 - Next steps
Related courses
- Blockchain Programming in iOS Using Swift
- Core Data in iOS: 1 Introduction
- iOS Lean Controllers: 1 Setup, Persistent Data, and Implementation
- MPLS Foundations: Getting Started with MPLS
- Blockchain Programming in JavaScript
- C# Cross-Platform Development
- iOS 18: iPhone and iPad Essential Training
- Advanced iOS App Development: MapKit & Core Location
Related learn paths
- Prepare for the MTA: Software Development Fundamentals Exam (98-361)
- Get Ahead in iOS App Development
- Become a Blockchain Developer
- Become a Java Programmer
- Improve Your iOS Development Skills
- Build a watchOS 4 Application
- Cisco Network Security: Safeguarding Network Integrity and Data
- Prepare for the CompTIA A+ (220-1001 and 220-1002) Exams