10. Performance

Insanity is doing the same thing, over and over again, but expecting different results.

Albert Einstein

In Chapter 9, “Deep Copy,” techniques were demonstrated that populate a persistent store with data. As persistent stores grow, it’s important to ensure that the application remains responsive. The fetched results controllers in Grocery Dude have already been configured for improved performance using batched fetch requests. What may not be apparent, however, is that the managed object model design plays a key role in producing better performance. This chapter will take you through the process of identifying and eliminating performance issues.

Get Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.