Chapter 12. Troubleshooting Core Data

When things go amiss with Core Data, the symptoms and error messages can seem obscure, even if you’ve been using it for a while. You can’t very well fix your code if you don’t understand what’s wrong. This chapter will help you diagnose and fix some of the most common Core Data problems.

Keep in mind that Core Data can be affected by problems that are not specific to Core Data. For example, memory management errors can affect any Cocoa object, and managed objects are no exception. This chapter focuses on problems specifically related to Core Data.

Your First Core Data Error ...

Get Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.