• 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: Bindings and MenuItems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and MenuItems


  • Subject: Re: Bindings and MenuItems
  • From: Keary Suska <email@hidden>
  • Date: Wed, 1 Apr 2009 15:01:58 -0600


On Apr 1, 2009, at 12:31 PM, Ben Lachman wrote:

I mean a "Cocoa bindings" kind of binding. e.g. the "target" binding of the menu item is bound in IB. The action field of the binding is set to "print:". I'm not talking about the traditional way of connecting a button/menu item to another object through the basic control drag from source to target and select the action method and I'm not talking about setting it in code. I know how to do both of those and they work, what I'm going for is a dynamic target.


I think I wasn't recalling correctly--my issue had to do with an NSButton, and binding didn't work for me. There is no reason to suspect that the binding wouldn't work as advertised.

Anyway, I suppose you have verified that the correct object is being set when the binding is established (and/or when the bound property changes)?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: Bindings and MenuItems
      • From: Ben Lachman <email@hidden>
References: 
 >Bindings and MenuItems (From: Ben Lachman <email@hidden>)
 >Re: Bindings and MenuItems (From: Andy Lee <email@hidden>)
 >Re: Bindings and MenuItems (From: Ben Lachman <email@hidden>)

  • Prev by Date: Re: user access privileges to plist in /library/preferences
  • Next by Date: Re: Best Strategy to Control iTunes
  • Previous by thread: Re: Bindings and MenuItems
  • Next by thread: Re: Bindings and MenuItems
  • Index(es):
    • Date
    • Thread