Re: model key path and properties
Re: model key path and properties
- Subject: Re: model key path and properties
- From: Quincey Morris <email@hidden>
- Date: Fri, 15 Jul 2011 03:08:07 -0700
On Jul 15, 2011, at 02:44, Torsten Curdt wrote:
> So you are saying it should be rather "Content Values" instead?
No, I can never remember which of NSPopUpButton's multitudinous binding is the correct one to use. (That's one reason I don't bother with bindings for this class. By the time I've worked out which binding to use, I could have written the code to create the menu items directly.) I was just using "Content" generically.
> Hm. That's too much work for that simple popup button :)
Most of the work is keeping track of whether the name properties have changed. You have to do that regardless of what solution you choose (bindings or not). If the names can't change, it's one step easier. If the array can't change either, it's a whole lot easier.
I really think NSPopUpButton bindings are too obscure to use. It's not clear in the end that they save *any* code.
_______________________________________________
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