Re: How to validate Core Data attributes ? (example in official doc doesn't work)
Re: How to validate Core Data attributes ? (example in official doc doesn't work)
- Subject: Re: How to validate Core Data attributes ? (example in official doc doesn't work)
- From: Jerome Krinock <email@hidden>
- Date: Wed, 14 Jun 2017 13:23:59 -0700
I’ve stuck it out with Core Data through several projects, but I *never* use
Core Data’s validation because it usually raises exceptions as objects are
being constructed, presenting inscrutable errors to the user. So I can’t
explain why your validate<Key> is not getting called. But if you did fix it,
you probably wouldn’t like the result.
Instead, invoke your validateWhatever with “manual” function calls, at points
which you deem are appropriate.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden