• 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 state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding NSMenuItem state


  • Subject: Re: Binding NSMenuItem state
  • From: Michael Fey <email@hidden>
  • Date: Fri, 20 Jul 2007 13:52:48 -0400

Brian,

Thanks. I forgot the golden rule of beginning Cocoa: If it seems like something is really hard, you're probably doing it wrong. I was trying to apply a value transformer to the binding where none was needed. Once I got that out of the way everything just worked. Thanks again!

Regards,
	Michael Fey
	email@hidden


On Jul 19, 2007, at 12:20 PM, Brian Smith wrote:


On Jul 19, 2007, at 4:53 AM, Michael Fey wrote:

Is there some way that I can use the bindings panel in Interface Builder to bind an NSMenuItem's state?

Bind the "value" property for this. Check out the "Cocoa bindings reference",

file:///Developer/ADC Reference Library/documentation/Cocoa/ Reference/CocoaBindingsRef/index.html

for descriptions of the bindings.

Brian

_______________________________________________

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:
40partech.com


This email sent to email@hidden

_______________________________________________

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: 
 >Binding NSMenuItem state (From: Michael Fey <email@hidden>)
 >Re: Binding NSMenuItem state (From: Brian Smith <email@hidden>)

  • Prev by Date: NSImage - Picture in Picture
  • Next by Date: how to print attributed strings to output (using NSLog? or otherwise)
  • Previous by thread: Re: Binding NSMenuItem state
  • Next by thread: beginSheet, doesn't stop NSThread
  • Index(es):
    • Date
    • Thread