On 2011 Mar 19, at 14:55, Quincey Morris wrote: > Note that Core Data doesn't give a damn if you pollute your data model with > invalid attribute values, even violations of entity-declared constraints, > until it gets to a save. At that point it will refuse to save if there are > any errors it can detect, and return an entire array of error objects.
… and it will display a modal dialog to the user announcing "Cocoa Error 134100", or something like that, in bold font. And as Quincey noted this happens after your user has been working on a document for 30 minutes and now wants to save. Not a pretty picture. Core Data's built-in validation is useable for in-house projects only. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com