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 PROTECTED]
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 PROTECTED]
740.590.0009



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/blachman%40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to