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 Groceries 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 takes you through the process of identifying and eliminating performance issues.

Identifying Performance Issues

As an application nears the end of its development cycle, it’s ...

Get Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition now with O’Reilly online learning.

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