Hour 18. Validating Data

Using Validation Rules in the Data Model

There are two aspects to data validation:

• Specifying the validation rules

• Implementing them

In this hour, you learn how to set some validation rules for a data model and how they take effect as people enter data. After that, you learn how to modify the default behavior so that you provide your own validation error messages.

The focus in this hour is on the rules. Once you have them in place, some will be managed automatically for you—particularly on Mac OS with its bindings ...

Get Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours 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.