Re: Bindings on Contextual Menu Items when to unbind:
Re: Bindings on Contextual Menu Items when to unbind:
- Subject: Re: Bindings on Contextual Menu Items when to unbind:
- From: Ben Lachman <email@hidden>
- Date: Thu, 3 Apr 2008 16:30:57 -0400
After thinking about this a bit more I think the proper response to
my message was/is:
Why the heck are you using bindings in a *contextual* menu?
Since bindings are used to keep things (Model/View) in sync, using
them in a context menu, which is kind of by definition representative
of a timeslice in the UI, doesn't make any sense. Its makes more
sense just to set up the initial state of the menu based on the
current model properties and go from there.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email@hidden
740.590.0009
On Apr 3, 2008, at 1:16 PM, Ben Lachman wrote:
I have a few contextual menus that have items that are generated
dynamically and are bound in code to my model. I'm not sure if/
when I should unbind them however. Is there a good place to do
this? Do I even need to?
Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email@hidden
740.590.0009
_______________________________________________
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
_______________________________________________
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