Re: Execute code when exiting textfield
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