O'Reilly logo

Professional iOS Database Application Programming, 2nd Edition by Patrick Alessi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9

Core Data Migration and Performance

WHAT’S IN THIS CHAPTER?

  • Managing database schema changes with versioning and migration
  • Implementing a threaded Core Data application
  • Understanding and optimizing Core Data performance and memory usage
  • Analyzing Core Data performance with the Instruments tool

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118391845 on the Download Code tab. The code is in the Chapter 9 download and individually named according to the names throughout the chapter.

In the preceding chapters, you learned about the Core Data framework and how to use it to provide the data storage capability in your applications. In this chapter, you take a closer look at some advanced topics related to Core Data, including migrating from one database schema to another and optimizing the performance of your Core Data–based application.

In this chapter, you learn how to handle change in your application data model using model versioning and migration. You also learn how to effectively manage memory when building a Core Data–based solution, safely implement a threaded Core Data application, and troubleshoot and analyze your Core Data application using the Instruments tool.

MODEL VERSIONING AND SCHEMA MIGRATION

It is rare that a finished application turns out the way you imagined when you started. In fact, many applications are never truly finished. If your customers like your application, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required