• 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: Execute code when exiting textfield
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Execute code when exiting textfield


  • Subject: Re: Execute code when exiting textfield
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 7 Feb 2007 04:08:31 -0500

value transformers are typically used with bindings. That would mean you wouldn't need to do anything at all.

Have a look at the temperature converter project that ships with Xcode in /Developer/Examples/AppKit


On Feb 7, 2007, at 2:13 AM, Brian Todd wrote:

I have been trying to take a preference from the User Defaults and pass it to a Value Transformer. I have successfully taken the value from User Defaults on startup and passed it to the Value Transformer but I can't figure out how to change the Value Transformer when the preferences are edited. I created a preferences panel controller and I think I should be executing my code when the text field is unselected but I can't figure out which method will send the change to the Value Transformer.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Execute code when exiting textfield
      • From: Brian Todd <email@hidden>
References: 
 >Execute code when exiting textfield (From: Brian Todd <email@hidden>)

  • Prev by Date: Execute code when exiting textfield
  • Next by Date: Re: NSURLConnection vs WebKit
  • Previous by thread: Execute code when exiting textfield
  • Next by thread: Re: Execute code when exiting textfield
  • Index(es):
    • Date
    • Thread