• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Menu validation in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Menu validation in Panther


  • Subject: Menu validation in Panther
  • From: Christopher Holland <email@hidden>
  • Date: Fri, 3 Oct 2003 17:13:14 -0500

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.

Christopher Holland
Concept House email@hidden
home:< http://www.concepthouse.com/ >
weblog: < http://exordium.concepthouse.com/ >
_______________________________________________
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.

  • Follow-Ups:
    • Re: Menu validation in Panther
      • From: j o a r <email@hidden>
References: 
 >Weird NSUnarchiver "more data than room " exception (From: Mike Laster <email@hidden>)

  • Prev by Date: Re: Weird NSUnarchiver "more data than room " exception
  • Next by Date: Re: Menu validation in Panther
  • Previous by thread: Re: Weird NSUnarchiver "more data than room " exception
  • Next by thread: Re: Menu validation in Panther
  • Index(es):
    • Date
    • Thread