Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
- Subject: Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
- From: Ken Thomases <email@hidden>
- Date: Wed, 20 Apr 2011 04:13:41 -0500
On Apr 20, 2011, at 4:00 AM, Quincey Morris wrote:
> On Apr 20, 2011, at 01:41, Ken Thomases wrote:
>
>> I'd call it a bug, but there's probably little chance of it being changed now. File one, anyway, if you feel strongly enough.
>
> No, it's not a bug, it's correct behavior, as I pointed out in a separate post.
I disagree. There's no reason why NSPopUpBotton or NSPopUpCell couldn't apply the value transformer to each item in the array rather than the array itself, just like NSTableColumn does. Also, nobody among this august email list's membership believed that NSPopUpButton/Cell would do what it actually is doing. That strongly suggests that it's not doing the right thing.
What it is doing is a "valid" choice, but it's a bad choice, and it should be doing something else.
Regards,
Ken
_______________________________________________
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