• 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
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]

ArrayController vs Pop-up button vs Transformer -- three way tag team death match!


  • Subject: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
  • From: Ben Golding <email@hidden>
  • Date: Tue, 19 Apr 2011 17:41:35 +1000

I am a bit stumped.  I have an array controller which I have hooked up to a pop-up button and that works quite well.  The members of the array are NSStrings but I would like to reformat them when they're displayed by the pop-up button.  Seems fairly straightforward, I thought I'd just write a little transformer to do that.

I plugged everything together and was surprised that that the transformer was raising an exception because it was being passed an NSObjectControllerProxy as its argument, not an NSString as I'd been expecting.

After some hunting around on the interwebs, I've tried all sorts of permutations, doing the binding via the pop-up buttons content values but I seem to come up against the same problem.

Is it possible to do this?  I feel like I'm missing something obvious.

	Ben.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • 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: Citizen <email@hidden>
  • Prev by Date: Re:Resolving a crash address to position in code
  • Next by Date: Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
  • Previous by thread: Re: updating a table without interrupting user editing
  • Next by thread: Re: ArrayController vs Pop-up button vs Transformer -- three way tag team death match!
  • Index(es):
    • Date
    • Thread