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: Andy Lee <email@hidden>
- Date: Thu, 02 Jul 2009 22:18:22 -0400
On Thursday, July 02, 2009, at 07:33PM, "Quincey Morris" <email@hidden> wrote:
>I really all makes sense, I think,
I think it makes the most sense if you figure out the validateMenuItem: mechanism, then figure out the validateToolbarItem: mechanism, then see they're closely related (no surprise, since menus and toolbars are supposed to echo each other), then come across validateUserInterfaceItem: as an attempt at a Unifying Theory as well as a fallback.
> although you could possibly argue
>that the whole validation architecture is a bit whacked, and certain
>argue that the documentation is royally whacked.
I remain optimistic that a cleaner, less confusing narrative can be told around validation.
On Thursday, July 02, 2009, at 08:38PM, "Quincey Morris" <email@hidden> wrote:
>We know that not every menu is validated all the time,
I think menus are validated (assuming autoenablesItems) when they are pulled down. I forget where I get this from.
Toolbars are trickier, because they're visible all the time. I think someone else referred to performance issues because this means toolbars have to be checked more often.
--Andy
_______________________________________________
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