Chapter    4

Attending to Data Quality

If you have been diligently following the previous chapters, you should already be reasonably well versed in using the basics of Core Data. Dealing with errors, whether system errors or user errors, and seeding data are issues you must deal with when writing high-quality apps. This chapter is designed to help you fend off the real-world problems that arise when you apply all the theory to the real world of app development. We continue on with the BookStore application from Chapter 2.

Seeding Data

A question we hear often concerns how to distribute a persistent store that already contains some data. Many applications, for example, include a list of values for users to pick from to categorize the data they ...

Get Pro iOS Persistence : Using Core Data 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.