Re: Core-Data & validate<key>:error:
Re: Core-Data & validate<key>:error:
- Subject: Re: Core-Data & validate<key>:error:
- From: Kaspar Fischer <email@hidden>
- Date: Wed, 7 Sep 2005 13:52:41 +0200
On 07.09.2005, at 10:03, Kaspar Fischer wrote:
You are right, validation is indeed performed! But my
returning NO is ignored.
Two observations:
1. In a little test project, I can confirm that validation
is indeed performed on insertion. (So I must be doing
something wrong at some place in my code...)
2. In my code, even Core-Data constraints are not respected
when the object is first inserted and saved (i.e., if I
set the "minimal value" of an attribute to 10 in the
Core-Data modeller in Xcode and the "default value" to 0
then I *can* save).
Any idea what this could be?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden