Core Data Migration

$19.99

Add to Cart

Description

All topics covered in this course are also covered in our full Core Data Course
If you already own the full Core Data Course you do not need to purchase this course.

Out of the box a Core Data application will refuse to load data created using a data model that differs from the model being loaded in the application. This means if we wish to apply an update to our data model in an application update we need to migrate the current data in our data store to match the new model in our application.

Since the update to Core Data in OS X 10.5 and the introduction of Core Data to iOS 3 Apple have built in versioning and migration capabilities to make dealing with data migration a great deal easier than the "Do it Yourself" approach we previously had to take.

This course looks at how you can support data migration in your Core Data applications. It shows how to handle changes entirely using Data Model versions and Mapping Models, before looking at customizing the process by using custom migration classes.

Presenter:
Marcus Zarra

Marcus S. Zarra is the owner of Zarra Studios LLC and the creator of seSales and iWeb Buddy as well as being a co-author of "Cocoa Is My Girlfriend", a wildly popular blog covering all aspects of Cocoa development. Marcus has been developing software since the mid-1980s and has written software in all of the major technological fields. Marcus has been using Core Data since its original release in OS X 10.4 Tiger and has released numerous applications and papers covering all of the topics of Core Data.

Company: Zarra Studios
Blog: Cocoa is My Girlfriend
Twitter: @mzarra

Content

Chapter 01. Introduction

All the stuff you need to know to use the course and making sure we all understand what we mean when we talk about Core Data Migration.
Duration: 4 mins.

Chapter 02. Introduction To Migration

Why do we need to worry about migration?
What triggers the need to do a migration?
What doesn't trigger the need for a migration?
Duration: 15 mins.

Chapter 03. Inferred Migration

Core Data tries to make migration easy by doing it for you. In this chapter we look at how we can ensure are application contains all it needs to do it well.
Duration: 18 mins.

Chapter 04. More Complex Migration

Sometimes inferred migration can't quite do everything we want but we really dont want to loose all the power of inferred migration. This chapter looks at how we can allow Core Data to do its stuff and then do some extra processing afterwards. We also discuss if the simplicity we gain through this technique is worth the compromises we have to make to achieve it.
Duration: 13 mins.

Chapter 05. Mapping Models

When Core Data is just not going to be able to work out what to do to migrate our data we need to tell it using a Mapping Model. This chapter looks at how we do that.
Duration: 13 mins.

Chapter 06. Manual Migration

Sometimes Core Data is just not going to be able to do migration for us at all and we need to step in and do all the work ourselves. This chapter takes a thorough look at the infrastructure Core Data gives us to so this.
Duration: 37 mins.

Chapter 07. Wrap Up

In this final chapter we summarize what we have learnt, remind ourselves of some of the supplementary issues we have had over come depending on if we are developing for iOS or OS X and we look at where we might go from here.
Duration: 7 mins.

What You Get

Running Time:
107 mins
Resolution:
960x540
Download size:
1.0GB
Format:
DRM Free M4V
Extras:
All Sample Code is Provided