Global Variable

NSValidationValueErrorKey

The error key for the value that failed to validate.

Declaration

NSString *const NSValidationValueErrorKey;

See Also

Managing Data Validation

- validateValue:forKey:error:

Validates a property value for a given key.

- validateForDelete:

Determines whether the managed object can be deleted in its current state.

- validateForInsert:

Determines whether the managed object can be inserted in its current state.

- validateForUpdate:

Determines whether the managed object's current state is valid.

Validation Error Codes

Error codes related to validation of managed object properties.

NSValidationKeyErrorKey

The error key for the attribute that failed to validate.

NSValidationObjectErrorKey

The error key for the object that failed to validate.

NSValidationPredicateErrorKey

The error key for the predicate that failed to validate.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software