On Apr 19, 2011, at 06:20, Ben Golding wrote:

> What I'd found was that the documentation doesn't indicate what the 
> ValueTransformer indicated is passed.  It seems to be a controller object, 
> not the pop-up button item's title which is the only thing that seems to make 
> sense in the context.

It may be a bug ("less than useful design choice"), or you might need to bind 
to something else, or you might find it necessary to bind or not bind one or 
more of the alternate bindings, or you might need to go ahead and used the 
passed proxy as a string anyway, as was already suggested.

> I share your fear but the win with bindings is too good to avoid.  I try to 
> think of these sort of frustrations as part of the learning process.  I can 
> really sympathise with wanting to fall back to the "old way".

I think my point was that there's no real win with bindings in this case. If 
you need to make multiple bindings to get the popup to work, and you have to 
write code to supply the supplementary arrays these bindings use, then you've 
saved nothing.

However, I don't want to discourage you from figuring it out, if you have a few 
hours to waste. :) 

As Kyle said, we can't really help unless you tell us *exactly* what the 
bindings are.


_______________________________________________

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 arch...@mail-archive.com

Reply via email to