Re: Possible to change value transformer for binding at runtime?
Re: Possible to change value transformer for binding at runtime?
- Subject: Re: Possible to change value transformer for binding at runtime?
- From: Keith Duncan <email@hidden>
- Date: Wed, 11 Feb 2009 12:16:07 +0000
is there a way to change the value transformer used for a binding at
runtime?
You could write an NSProxy subclass to stand in for a given value
transformer - register it instead of the actual value transformer.
Then when you need to change the transformation grab it from the
NSValueTransformer class method, cast back to your proxy and send the
right message to change it's target.
Keith
_______________________________________________
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