Learning Core Data for iOS and OS X

Video description

In this Learning Core Data for iOS and OS X training course, expert author Jesse Feiler teaches you how to effectively develop Core Data apps for Cocoa and Cocoa Touch using Swift and OS X. This course is designed for users that are familiar with Xcode and have experience with the Cocoa or Cocoa Touch framework.

You will start by learning how to build an app with Core Data from a template, then jump into exploring the Core Data stack. From there, Jesse will teach you how to build a simple data model, build a model with relationships, and create a relationship with the table. This video tutorial also covers using the simple model and relationship in the template, exploring attributes, using iCloud and external stores, and changing the storyboard and view controller. You will also learn how to create a subclass for your entity, how to use key-value data, how to use fetch requests, and how to use transformations. Finally, you will learn how to prepare for and use lightweight migration.

Once you have completed this computer based training course, you will have learned how to develop your own apps for Cocoa and Cocoa Touch with Xcode.

Table of contents

  1. Introduction
    1. About The Course 00:04:21
    2. About The Author 00:02:39
    3. Investigating Persistent Data On OS X And iOS: User Defaults 00:08:46
    4. Investigating Persistent Data On OS X And iOS: Property Lists 00:04:31
    5. Investigating Persistent Data On OS X And iOS: Documents 00:03:31
    6. Supporting A Data-Based App 00:02:41
  2. Getting Started With A Core Data Template
    1. Building An App With Core Data From A Template - Part 1 00:04:44
    2. Building An App With Core Data From A Template - Part 2 00:06:30
    3. Data Models 00:04:40
    4. Relational Data And Normalization 00:06:29
  3. Exploring The Core Data Stack
    1. Looking At The Core Data Stack 00:07:07
    2. Understanding A Data Model 00:08:10
    3. Creating A Persistent Store Coordinator 00:05:00
    4. Creating A Managed Object Context 00:02:01
  4. Building A Simple Data Model
    1. Creating A New Data Model 00:04:27
    2. Adding A New Entity 00:07:28
    3. Adding An Attribute To An Entity 00:04:32
  5. Building A Model With Relationships
    1. Exploring Relationships 00:03:45
    2. Creating A Relationship With The Table 00:02:48
    3. Creating A Relationship With The Graph 00:06:56
  6. Using The Simple Model And Relationship In The Template
    1. Testing The App 00:03:12
    2. Exploring The Code: Creating A New Instance - Part 1 00:06:59
    3. Exploring The Code: Creating A New Instance - Part 2 00:05:02
    4. Exploring The Code: Displaying The Data 00:03:07
    5. Exploring The Code: prepareForSegue 00:02:53
  7. Exploring Attributes
    1. Modifying The Data Model And Code 00:06:04
    2. Adding A New Property 00:03:14
    3. Setting A Property In Code 00:02:23
    4. Setting A Default Value In The Data Model Inspector 00:01:54
    5. Testing For A Null Value 00:03:16
    6. Using Optional Values 00:06:06
    7. Using External Storage 00:04:55
  8. Using iCloud And External Stores
    1. Understanding Core Data And iCloud 00:06:15
    2. Locating The Persistent Store 00:02:36
    3. Change The Storyboard And View Controller 00:03:57
    4. Adding The New Item 00:06:46
    5. Getting The Objects 00:07:09
    6. Testing The App 00:02:21
    7. Testing The App With iCloud 00:04:24
    8. Using iCloud And Core Data Together 00:05:05
  9. Exploring Relationships
    1. Setting Relationship Properties 00:04:45
    2. Catching The Save Error 00:05:02
    3. Dealing With The Optional Relationship Error 00:06:00
    4. Solving The Validation Error 00:02:57
    5. Using Delete Rules 00:07:27
  10. Creating A Subclass For Your Entity
    1. Using The Xcode Subclass Command 00:03:01
    2. Creating The Subclass 00:02:28
    3. Creating An Instance Using The Subclass 00:04:00
    4. Using The Subclass 00:03:30
  11. Exploring Entities
    1. Setting The Class 00:04:30
    2. Using A Parent 00:02:41
  12. Using Key-Value Data
    1. Defining A Key-Value Pair For userInfo 00:04:32
    2. Accessing Entity Property List Key-Values - Part 1 00:02:43
    3. Accessing Entity Property List Key-Values - Part 2 00:03:35
    4. Accessing An Attribute Property List 00:03:10
  13. Using Fetch Requests
    1. Using A Fetched Results Controller In The Template 00:04:27
    2. Using A Fetched Results Controller At Runtime 00:05:26
  14. Using Transformations
    1. Using Transformable Data 00:02:32
    2. Implementing The Transformation 00:05:09
    3. Understanding Forward And Reverse Transformations 00:06:11
    4. Doing The Transformations 00:06:26
  15. Working With Migration And Versions
    1. Preparing For Lightweight Migration 00:03:49
    2. Using Lightweight Migration 00:03:21
  16. Conclusion
    1. Moving On 00:02:47

Product information

  • Title: Learning Core Data for iOS and OS X
  • Author(s): Jesse Feiler
  • Release date: February 2016
  • Publisher(s): Infinite Skills
  • ISBN: 9781771375252