Re: Visual feedback of invalid cell data from Core Data - how to?
Re: Visual feedback of invalid cell data from Core Data - how to?
- Subject: Re: Visual feedback of invalid cell data from Core Data - how to?
- From: Jerry Krinock <email@hidden>
- Date: Sat, 19 Mar 2011 16:05:10 -0700
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 (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