Core Data
By J.D. Gauchat
- Release Date: 2018-01-01
- Genre: Programming
Learn how to use Core Data to create an manage a database for your iOS applications. After reading this guide, you will know how to create a database, how to store, search, and retrieve information, and how to migrate data from an old database to a new one.
Table of Contents
CORE DATA
Object Graph
Data Model
Core Data Stack
Managed Object
Managing Objects
Counting Objects
Predicates
Sort Descriptors
Delete Objects
Fetched Results Controller
Sections
Search
Migration
QUICK REFERENCE
NSPersistentContainer
NSManagedObjectContext
NSManagedObject
NSFetchRequest
NSPredicate
NSSortDescriptor
NSFetchedResultsController
NSFetchedResultsControllerDelegate
NSFetchedResultsSectionInfo
This guide assumes that you have a basic knowledge of app development, Xcode, and the Swift language. You should also know how to create and display Table Views. If you don't know how to program in Swift, how to work with Table Views, or how to create an application with Xcode, download our guides Introduction to Swift, Table Views and Collection Views, and Interface Builder. For a complete course on app development for iOS, read our book iOS Apps for Masterminds.
This guide is a collection of excerpts from the book iOS Apps for Masterminds. The information included in this guide will help you understand a particular aspect of app development in iOS, but it will not teach you everything you need to know to develop an app for Apple devices. If you need a complete course on app development for iOS, read our book iOS Apps for Masterminds. For more information, visit our website at www.formasterminds.com.