iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCICaptureEventsGesture

@interface SCICaptureEventsGesture : SCIGestureRecognizer
#if TARGET_OS_OSX
    <ISCITrackingAreaResponder>
/// Redeclare the default property to address modifier movement issues when using a mouse. Ticket #45619, #45614, #45612
/// On macOS, `NSGestureRecognizer` restricts direct state mutation — setting state to `Began`
/// during `mouseDown:` breaks Apple's internal event tracking session, preventing `mouseUp:`
/// from ever being delivered. To work around this, we introduce `internalState` as a separate
/// property to track gesture state independently, without interfering with `NSGestureRecognizer`'s
/// state machine. This ensures both hover/rollover modifier and mouse click events work correctly. (trading
/// annotation edit mode)
@property (nonatomic) NSGestureRecognizerState internalState;
#endif

/**
 * Returns the mask which defines the buttons which was pressed during gesture recognition.
 */
@property (nonatomic, readonly) SCIButtonMask recognizedButtonMask;

@property(nonatomic, weak) id <SCICaptureEventsGestureDelegate> _Nullable captureEventDelegate;

@end

Undocumented