Re: Correct way to implement validateValue:?
Re: Correct way to implement validateValue:?
- Subject: Re: Correct way to implement validateValue:?
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 24 Jun 2005 13:33:53 -0700
On Jun 24, 2005, at 1:09 PM, Keith Blount wrote:
1) I think I need to implement validateValue: in my
model class to validate the value when it changes.
What I need to check is the "title" value inside the
properties mutable dictionary. However, I have tried
to do this but it never seems to get called. I have
tried:
- (BOOL)validateProperties:(id *)ioValue
forKeyPath:(NSString *)inKeyPath error:(NSError
**)outError
It's not clear why you're implementing this method -- or where.
See <http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueCoding/Concepts/Validation.html>.
mmalc
_______________________________________________
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