Perhaps setNilValueForKey: from the NSKeyValueCoding protocol maybe useful. 
This method is called on modeled properties that are scalars or structures. 
Perhaps you need to explicitly set these values in awakeFromInsert and 
awakeFromFetch.

Richard

On Mar 30, 2014, at 3:54 AM, Rick Mann <rm...@latencyzero.com> wrote:

> I have custom CGRect and CGPoint attributes that are not optional. I'm 
> getting validation errors that they aren't set. I back them with four and two 
> doubles, respectively, which ARE optional.
> 
> How does Core Data decide that a custom, transient, undefined attribute is or 
> is not set?


_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to