How do I access the property scrollPhase
in an NSEvent
of type NSScrollEvent
(in OS X 10.6)?
- (void)scrollWheel:(NSEvent *)event {
NSLog(@"Scroll Event: %@", event);
}
If I write the event to the log, I can see the desired information:
... Scroll Wheel Event: NSEvent: type=ScrollWheel ... scrollPhase=Continue
... Scroll Wheel Event: NSEvent: type=ScrollWheel ... scrollPhase=End