Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
CoreData for Swift Development (Swift 4.2 & iOS 12)
Rating: 4.3 out of 5(276 ratings)
1,610 students

CoreData for Swift Development (Swift 4.2 & iOS 12)

Master the Core Data in Swift 4.2 and iOS 12, and take your iOS development skills to the next level
Created byAndi Setiyadi
Last updated 4/2019
English

What you'll learn

  • Deep understanding how CoreData data persistent works in iOS

Course content

11 sections51 lectures8h 13m total length
  • Course Outline and Goals2:21
  • FAQ1:16
  • Source Codes0:18
  • Entity Inheritance5:25

    We will learn how to setup an inheritance relationships for the entities in the data model which will translate to NSManagedObject inheritance setup.

  • Extract Data for Inheritance31:37

    We will extract the JSON data and uploading the record to Core Data based on the entity inheritance that we setup in the data model.

  • Entity Extension12:12

    We are going to create an extension to our NSManagedObject class that will provide a service to our data model during data reading and manipulation.

  • Entity Relationships as Predicate18:48

    Explore how we can take advantage of entities relationships in fetching Core Data records.

  • Filter and Sort13:33

    Learn how to setup multiple predicates and sort that can be used as search criteria.

  • Compound Predicate and Multi Sort12:27

    We will learn into using multiple predicates and sort mechanism to query the Core Data entities and relationships.

  • Aggregate Function - 119:58
  • Aggregate Function - 213:37
  • Requirements

    • Understanding of basic Swift development

    Description

    ***** COURSE UPDATE RELEASED *****

    If you are looking for Core Data in SwiftUI, please check the updated course: SwiftUI Series: Core Data in SwiftUI

    If you want to develop Core Data using UIKit, keep reading the description below.

    *****************************************


    CoreData for iOS Development in Swift

    This course was created and updated for Core Data with the latest Swift 4.x (as of WWDC 2018), targeted for both iOS 12 and 11. We will be using the latest Xcode 10 (Beta) as well as Xcode 9.4 for the course coverage.  

    If your project is dealing with older version of Core Data in iOS 9 or prior, and you intend to learn the previous version, my other course Mastering iOS Core Data with Swift is the course you want.

    What is Core Data? Why should I know about Core Data?

    Core Data is one of the most powerful framework that Apple has provided for developer. "Core Data is a framework that you use to manage the model layer objects in your application. It provides generalized and automated solutions to common tasks associated with object life cycle and object graph management, including persistence." - Source from Apple". 

    If you are passionate about learning mobile development for iOS and looking to take your iOS development skills to the next level, Core Data framework should be at the top of your list.

    By the time you are done with CoreData for iOS Development in Swift course, you will be ready and very confident to take on any Core Data project coming your way. On top of that, you will be one step closer to become a well rounded iOS developer.

    What's in it for me?

    In this course I will take you on a journey in the world of Core Data. We will cover all the important aspects of Core Data:

    • Entity

    • Entity Inheritance

    • Attribute Type

    • Relationships

    • ManagedObjectContext

    • ManagedObject

    • PersistentContainer

    • Handling JSON data

    • Predicate

    • CompoundPredicate

    • Fetching

    • Batch Fetching and Update

    • Object Deletion

    • Asynchronous Fetching

    • NSFetchedResultsController

    • Aggregate Functions

    • Grouping

    • Caching

    • Performance Tuning and Best Practices

    • Data Model Versioning

    • Automatic Lightweight Migration

    • Manual Migration with Model Mapping

    • Background process

    • Automatic Subclass and Class Extension Generation

    Throughout this course we will look in detail the Core Data framework to provide data storage functionality in iOS applications. We will start by creating a simple app that is utilizing Core Data framework, building our own Core Data stack and eventually using all different Core Data features into our application. 

    Performance Tuning and Best Practices

    We will cover the various ways on fetching our data and how to efficiently using Core Data in our app. Unit testing and performance tuning will be an important part on how we can monitor our app performance in conjunction with Core Data in our application.

    Along with Core Data versioning, migration and iCloud integration, I will take you on developing 5 iOS applications and how we can integrate all of these components into Core Data.

    Do at your own pace

    Lots of students have different methods of learning. Through out this course I will provide both the starter and final Xcode project solution, so you can either follow along one step at a time or you can jump directly to the final solution. And by the end of this Core Data for Swift Development course, you should be comfortable and ready to integrate Core Data framework in your application.

    Target Audience: All iOS developer that would like to take their skills to the next level.

    What are the requirements?

    • A Mac laptop or iMac

    • Xcode

    • Some knowledge of Swift development

    Who this course is for:

    • Students who want to learn data persistent in Swift/iOS using CoreData