• 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
Re: Menu item binding hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu item binding hidden


  • Subject: Re: Menu item binding hidden
  • From: Tony Romano <email@hidden>
  • Date: Sun, 13 Jun 2010 19:53:49 -0700

Ok thanks Kyle and Gideon, I wanted to make sure there wasn't another way with a binding that I was over looking.

-Tony

On Jun 13, 2010, at 7:21 PM, Gideon King wrote:

> You might like to check out doing it using validateUserInterfaceItem: or validateMenuItem:
>
> HTH
>
> Gideon
>
> On 14/06/2010, at 11:23 AM, Tony Romano wrote:
>
>> Binding a menuitem's hidden attribute to the selection doesn't work in the case of a context menu because the selection happens as it changes and before the menu is displayed.  There is no state.  Other than adding an ivar and binding the hidden state to it, is there another way?  Can't seem to find anything via a search.
>>
>> TIA,
>> -Tony
>>
>
>

-Tony

_______________________________________________

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

References: 
 >Menu item binding hidden (From: Tony Romano <email@hidden>)
 >Re: Menu item binding hidden (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Menu item binding hidden
  • Next by Date: Core Data issue .. where is my bug?
  • Previous by thread: Re: Menu item binding hidden
  • Next by thread: Core Data issue .. where is my bug?
  • Index(es):
    • Date
    • Thread