I tried a very simple implementation, like this:
@implementation ScrollingTextField
- (void)scrollWheel:(NSEvent *)event {
self.doubleValue -= event.scrollingDeltaY;
}
@end
I bound the value
of the scrolling text field to some other object. Scrolling now updates the visible text on the text field just fine. However, the bound value does not change.
Why does the bound value not change? Or: How can I make the bound value recognize the change?