Contents

validateForInsert()

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

Declaration

func validateForInsert() throws

Discussion

Subclasses should invoke super’s implementation before performing their own validation, and should combine any error returned by super’s implementation with their own (see Managed Object Validation).

See Also

Managing Data Validation