• 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: Binding NSMenuItem 'value' or 'title': Accessors not invoked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding NSMenuItem 'value' or 'title': Accessors not invoked


  • Subject: Re: Binding NSMenuItem 'value' or 'title': Accessors not invoked
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 9 Oct 2007 09:54:29 -0400

On 10/9/07, Jerry Krinock <email@hidden> wrote:
> After binding the 'value' (which should show/hide the checkmark) or
> the 'title' of NSMenuItems in my main menu, I find that the bound-to
> accessors only get invoked once, when the app launches.  Therefore,
> subsequent changes are never propagated to the menu.

  Are your accessors properly enclosed with will/didChangeValueForKey: calls?

--
I.S.
_______________________________________________

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

  • Follow-Ups:
    • Re: Binding NSMenuItem 'value' or 'title': Accessors not invoked
      • From: Jerry Krinock <email@hidden>
References: 
 >Binding NSMenuItem 'value' or 'title': Accessors not invoked (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Binding NSMenuItem 'value' or 'title': Accessors not invoked
  • Next by Date: Re: Where/when to #import
  • Previous by thread: Binding NSMenuItem 'value' or 'title': Accessors not invoked
  • Next by thread: Re: Binding NSMenuItem 'value' or 'title': Accessors not invoked
  • Index(es):
    • Date
    • Thread