On 2010 Nov 13, at 15:23, Kyle Sluder wrote:

> The only common race condition I can think of off the top of my head is the 
> delay performing that NSController does.

Maybe that's it.  I just remember that when I first started using Core Data, my 
first instinct was to uncheck those "Optional" boxes when a property was 
required.  I frequently got "save" errors as described by Paul until I checked 
them back on.  I vaguely remember debugging one case and found that Core Data 
was doing its validation before my business logic received the notification 
which triggered setting the non-optional property, or something like that.  On 
another occasion, I tried implementing some of Core Data's built-in validation 
methods, assuming that they would give me some hooks to recover from the 
validation errors, but was disappointed to find that, instead, it just 
displayed these obnoxious error dialogs.

> I've avoided Core Data for anything more than toy apps (our apps had all 
> moved off Core Data by the time I showed up).

Looks like we're having another Dump On Core Data Weekend.  Let's try and clean 
this up before Monday morning, eh  :)

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to