• 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
Trying to bind to reverseTransformedValue: in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying to bind to reverseTransformedValue: in IB


  • Subject: Trying to bind to reverseTransformedValue: in IB
  • From: Sam Stigler <email@hidden>
  • Date: Sat, 26 Jan 2008 18:52:35 -0800

Hi,

I've created three separate but related value transformers (I'm trying to build a binary-decimal-hexadecimal three-way converter); and those are unit-testing fine; but now I'm trying to bind them to text fields in my user interface.

The problem I'm running into is that although by far the most straightforward way for me to set this up would be to bind to the reverseTransformedValue: method of at least one of the transformers, I have no idea how I would go about setting that up in IB. Is it possible? I'm guessing that as is, if I bind a variable to a text field in IB using a value transformer, the transformedValue: method will be used. Am I right about that?

I've also taken a quick look at the possibility of using manual bindings, but my one worry is I don't know enough about how value transformers work with bindings to know if that would really help, or I'd be stuck in the same place I am now. Can someone please clarify for me when each value transformer method is used for a binding?

I feel like this must be something obvious, but I've looked around for a while and haven't been able to find anything. I have a suspicion that I could be over-thinking this, but I'm not sure how.... Could you please help to clarify the situation for me?

Thanks,

Sam

_______________________________________________

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: Trying to bind to reverseTransformedValue: in IB
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Running an NSTask Within an NSThread
  • Next by Date: Re: Trying to bind to reverseTransformedValue: in IB
  • Previous by thread: Re: Running an NSTask Within an NSThread
  • Next by thread: Re: Trying to bind to reverseTransformedValue: in IB
  • Index(es):
    • Date
    • Thread