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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to