Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Core Data in iOS: 2 Intermediate Topics

Core Data in iOS: 2 Intermediate Topics

4h 58mIntermediate2022-06-09

Authors

Mohammad Azam

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

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal