Re: User interface validation doesn't work, right?
Re: User interface validation doesn't work, right?
- Subject: Re: User interface validation doesn't work, right?
- From: Gregory Weston <email@hidden>
- Date: Wed, 01 Jul 2009 20:38:32 -0400
Bill Cheeseman wrote:
For years, the "Implementing Validation" section of Apple's "User
Interface Validation" document has said the following:
"Before it is displayed, a user interface item checks to see if its
target implements validateUserInterfaceItem:. If it does, then the
enabled status of the item is determined by the return value of the
method. You can therefore conditionally enable or disable an item by
implementing validateUserInterfaceItem: in the target object."
This has never been true. Right?
It appears that it only for UI items that conform to
NSValidatedUserInterfaceItem.
_______________________________________________
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