Re: Menu validation in Panther
Re: Menu validation in Panther
- Subject: Re: Menu validation in Panther
- From: j o a r <email@hidden>
- Date: Sat, 4 Oct 2003 01:38:54 +0200
How did you come to the conclusion that the fact that there isn't a
private mailing list list for those seeded with Panther gives you the
right to talk about Panther on this list?
If you're seeded and find something that you find weird, file a bug.
One of the reasons that Apple doesn't want us to talk about Panther
before it's done is that they don't want people running around like
headless chicken, worrying about the things that doesn't work yet,
creating negative expectations and negative press - it's not released
yet, because it's not done yet! If everything worked perfectly you
would be able to buy Panther by now...
j o a r
On 2003-10-04, at 00.13, Christopher Holland wrote:
Sorry if I am talking about Panther but I don't really know of a
better list to do it (there isn't an NDA list that I know of).
Anyway, I have noticed a change in the way that Panther handles
menu/submenu validation as compared to previous releases of the
system. I wouldn't call this a bug....just a change.
Previously, if you had an NSMenuItem that had a submenu attached to it
then it didn't have to have an action. 'nil' would suffice. In
Panther, you must give the "parent" menuItem a valid action before it
will validate....regardless of what your validator object tells it.
Shouldn't this be considered wrong? Isn't that the whole idea behind
validators is that they are the ones that do the validation. I haven't
found a spot in the docs that says that an item has to have a valid
action...just that the validator must exist and answer calls to it.
I'm probably missing something here, of course...that's usually the
case.
This isn't a big deal for me, I've already fixed the code, but it
could be a problem in someone else's case.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.