bindings only work one way?
bindings only work one way?
- Subject: bindings only work one way?
- From: Kenny Leung <email@hidden>
- Date: Sat, 15 Oct 2005 17:23:38 -0700
Hi All.
I think I'm doing everything right with bindings, but perhaps I'm
misunderstanding something. I have a custom control which controls
transparency. Since this is a custom control, I'm hooking up the
binding programmatically. I hook the control up to my
WindowController using:
[transparencyControl bind:@"alpha" toObject:self
withKeyPath:@"superimpositionView.alpha" options:nil];
It all works perfectly - almost. The binding appears to be read-only
- that is, when I change the alpha value in superimpositionView, it
changes the value on the control, but when I manipulate the control,
it will not change the value in superimpositionView. Am I missing
something basic about bindings?
Any help is much appreciated.
Thanks!
-Kenny
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden