• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Quincey Morris <email@hidden>
  • Date: Tue, 19 Apr 2011 09:52:10 -0700

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 (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

References: 
 >ArrayController vs Pop-up button vs Transformer -- three way tag team death match! (From: Ben Golding <email@hidden>)
 >Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match! (From: Quincey Morris <email@hidden>)
 >Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match! (From: Ben Golding <email@hidden>)

  • Prev by Date: Re: CALayer: Animation using actions property
  • Next by Date: Re: NSTableView willDisplayCell: called on hover
  • Previous by thread: Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
  • Next by thread: Does not allow to Uninstall the application when it is running.
  • Index(es):
    • Date
    • Thread