Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Core Data Introduction in iOS and Mac OS Programming - Part 2

Brian Advent via YouTube

Overview

Create a comprehensive Core Data tutorial for iOS and Mac OS programming, focusing on developing a reusable class for easy Core Data application development. Learn to create a new class, add methods, implement class methods, and build a robust Core Data stack. Master essential concepts such as creating managed object contexts, persistent store coordinators, and handling errors. Explore techniques for inserting, saving, and fetching entities, as well as working with NSFetchRequest and predicates. Download accompanying tutorial files to follow along and practice implementing these concepts in your own projects.

Syllabus

Introduction
Creating a new class
Adding methods
Class methods
Create method
Create nsurl
Create database method
Create managed object context
Errors
Create Directory
Check Directory Error
Create Path
Create URL
Create Managed Object
Managed Object Context
Core Data Database Class
Core Data Stack
Create NS Persistent Store Coordinator
Add Persistent Store
Check for Errors
Log
Managed ObjectContext
Insert Class
Return Managed Object
Insert Entity
Save Entity
Safe Managed Object Context
Save Managed Object Context
Save Error Object
Return No
Insert Objects
Fetch Request
Fetch Entities for Class
Problem
NS Fetch Request
Entity Full Name
Add Predicate
Create Array

Taught by

Brian Advent

Reviews

Start your review of Core Data Introduction in iOS and Mac OS Programming - Part 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.