@class UIView, NSString, NSArray, NSObservationSource, NSSet, UIGestureEnvironment, _UIForceLevelClassifier, NSMutableSet, NSObject, NSMutableArray, _UITouchForceObservable, NSObservation; @protocol _UIGestureOwning, NSObservable, UIGestureRecognizerDelegate; @interface UIGestureRecognizer : NSObject <_UIForceLevelClassifierDelegate, _UIEventRespondable, _UIExcludable, _UITouchesEventRespondable, _UIPressesEventRespondable> { struct { unsigned char delegateShouldBegin : 1; unsigned char delegateCanPrevent : 1; unsigned char delegateCanBePrevented : 1; unsigned char delegateShouldRecognizeSimultaneously : 1; unsigned char delegateShouldReceiveEvent : 1; unsigned char delegateShouldReceiveTouch : 1; unsigned char delegateShouldReceivePress : 1; unsigned char delegateShouldRequireFailure : 1; unsigned char delegateShouldBeRequiredToFail : 1; unsigned char delegateFailed : 1; unsigned char privateDelegateShouldBegin : 1; unsigned char privateDelegateCanPrevent : 1; unsigned char privateDelegateCanBePrevented : 1; unsigned char privateDelegateShouldRecognizeSimultaneously : 1; unsigned char privateDelegateShouldReceiveEvent : 1; unsigned char privateDelegateShouldReceiveTouch : 1; unsigned char privateDelegateShouldReceivePress : 1; unsigned char privateDelegateShouldRequireFailure : 1; unsigned char privateDelegateShouldBeRequiredToFail : 1; unsigned char subclassShouldRequireFailure : 1; unsigned char subclassShouldBeRequiredToFail : 1; unsigned char hasSubclassDynamicFailureRequirements : 1; unsigned char hasDelegateDynamicFailureRequirements : 1; unsigned char subclassTouchesEstimatedPropertiesUpdated : 1; unsigned char subclassShouldReceiveTouchForEventRecognizerView : 1; unsigned char queriedFailureRequirements : 1; unsigned char cancelsTouchesInView : 1; unsigned char delaysTouchesBegan : 1; unsigned char delaysTouchesEnded : 1; unsigned char disabled : 1; unsigned char dirty : 1; unsigned char delivered : 1; unsigned char deliveredEndedOrCancelled : 1; unsigned char continuous : 1; unsigned char requiresDelayedBegan : 1; unsigned char willBeginAfterSatisfyingFailureRequirements : 1; unsigned char requiresSystemGesturesToFail : 1; unsigned char acceptsFailureRequirements : 1; unsigned char requiresExclusiveTouchType : 1; unsigned char initialTouchTypeIsValid : 1; unsigned char forceRequirementSatisfied : 1; unsigned char wantsDragEvents : 1; unsigned char conformsToDragEventRespondable : 1; unsigned char isDynamicGesture : 1; unsigned char canExcludeWithActiveRequirements : 1; unsigned char isObservingGesture : 1; unsigned char didCheckForcePressShouldBegin : 1; unsigned char canSendForcePressAction : 1; unsigned char queriedShouldReceiveTouchesEvent : 1; unsigned char shouldReceiveTouchesEvent : 1; unsigned char queriedDelegateShouldReceiveTouchesEvent : 1; unsigned char delegateShouldReceiveTouchesEvent : 1; unsigned char queriedShouldReceivePressesEvent : 1; unsigned char shouldReceivePressesEvent : 1; unsigned char queriedDelegateShouldReceivePressesEvent : 1; unsigned char delegateShouldReceivePressesEvent : 1; unsigned char conformsToHoverEventRespondable : 1; unsigned char conformsToScrollEventRespondable : 1; unsigned char conformsToTransformEventRespondable : 1; unsigned char isWebKitMouseGestureRecognizer : 1; unsigned char canBeCancelledByAffectedViews : 1; unsigned char enqueuedForReset : 1; unsigned char sendUpdateOnEventChange : 1; } _gestureFlags; NSMutableArray *_targets; NSMutableArray *_delayedTouches; NSMutableArray *_delayedPresses; id<_UIGestureOwning> _owner; double _lastTouchTimestamp; double _firstEventTimestamp; long long _state; long long _allowedTouchTypes; long long _initialTouchType; NSMutableSet *_internalActiveTouches; _UIForceLevelClassifier *_forceClassifier; long long _requiredPreviewForceState; _UITouchForceObservable *_touchForceObservable; NSObservation *_touchForceObservableAndClassifierObservation; NSMutableArray *_forceTargets; unsigned long long _forcePressCount; NSObservationSource *_beganObservable; NSMutableSet *_failureRequirements; NSMutableSet *_failureDependents; NSMutableSet *_activeEvents; long long _buttonMask; long long _modifierFlags; BOOL _analyticsGestureHandled; unsigned long long _machTimeEnqueuedForReset; } @property (readonly, nonatomic) BOOL _isTouchGestureRecognizer; @property (nonatomic, setter=_setRecognitionEvent:) long long _recognitionEvent; @property (readonly, nonatomic) NSMutableSet *_pairedGestureIdentifiers; @property (nonatomic) UIGestureEnvironment *gestureEnvironment; @property (readonly, nonatomic) NSSet *_failureRequirements; @property (readonly, nonatomic) NSSet *_failureDependents; @property (readonly, nonatomic) NSObject *_beganObservable; @property (nonatomic, getter=_canExcludeWithActiveRequirements, setter=_setCanExcludeWithActiveRequirements:) BOOL canExcludeWithActiveRequirements; @property (nonatomic, getter=_isEventObserving, setter=_setEventObserving:) BOOL eventObserving; @property (nonatomic, setter=_setSendUpdateOnEventChange:) BOOL _sendUpdateOnEventChange; @property (nonatomic, getter=_canBeCancelledByAffectedViews, setter=_setCanBeCancelledByAffectedViews:) BOOL _canBeCancelledByAffectedViews; @property (nonatomic, getter=_inputPrecision) unsigned long long inputPrecision; @property (nonatomic, getter=_requiresSystemGesturesToFail, setter=_setRequiresSystemGesturesToFail:) BOOL requiresSystemGesturesToFail; @property (readonly, nonatomic) double lastTouchTimestamp; @property (nonatomic, setter=_setKeepTouchesOnContinuation:) BOOL _keepTouchesOnContinuation; @property (readonly, nonatomic) BOOL _hasUnmetFailureRequirements; @property (readonly, nonatomic) long long state; @property (weak, nonatomic) id delegate; @property (nonatomic, getter=isEnabled) BOOL enabled; @property (readonly, nonatomic) UIView *view; @property (nonatomic) BOOL cancelsTouchesInView; @property (nonatomic) BOOL delaysTouchesBegan; @property (nonatomic) BOOL delaysTouchesEnded; @property (copy, nonatomic) NSArray *allowedTouchTypes; @property (copy, nonatomic) NSArray *allowedPressTypes; @property (nonatomic) BOOL requiresExclusiveTouchType; @property (readonly, nonatomic) unsigned long long numberOfTouches; @property (copy, nonatomic) NSString *name; @property (readonly, nonatomic) long long modifierFlags; @property (readonly, nonatomic) long long buttonMask; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)supportsSecureCoding; + (BOOL)_shouldSupportStylusTouches; + (BOOL)_shouldDefaultToTouches; + (BOOL)_supportsTouchContinuation; + (BOOL)_shouldUseLinearForceLevelClassifier; - (BOOL)canPreventGestureRecognizer:(id)a0; - (struct CGPoint { double x0; double x1; })_convertPoint:(struct CGPoint { double x0; double x1; })a0 toSceneReferenceCoordinatesFromView:(id)a1; - (BOOL)_affectedByGesture:(id)a0; - (id)stringValue; - (void)removeTarget:(id)a0 action:(SEL)a1; - (BOOL)_isActive; - (BOOL)_analyticsIsGestureHandled; - (BOOL)_shouldReceiveTouch:(id)a0 forEvent:(id)a1 recognizerView:(id)a2; - (void)touchesCancelled:(id)a0 withEvent:(id)a1; - (id)init; - (BOOL)canBePreventedByGestureRecognizer:(id)a0; - (id)owner; - (void)pressesEnded:(id)a0 withEvent:(id)a1; - (void)reset; - (void)dealloc; - (struct CGPoint { double x0; double x1; })locationOfTouch:(unsigned long long)a0 inView:(id)a1; - (void)setOwner:(id)a0; - (BOOL)_shouldBegin; - (void)_resetGestureRecognizer; - (void)encodeWithCoder:(id)a0; - (long long)_modifierFlags; - (void)pressesBegan:(id)a0 withEvent:(id)a1; - (id)initWithTarget:(id)a0 action:(SEL)a1; - (BOOL)_isGestureType:(long long)a0; - (void)pressesChanged:(id)a0 withEvent:(id)a1; - (void)touchesBegan:(id)a0 withEvent:(id)a1; - (struct CGPoint { double x0; double x1; })_convertPoint:(struct CGPoint { double x0; double x1; })a0 fromSceneReferenceCoordinatesToView:(id)a1; - (BOOL)shouldRequireFailureOfGestureRecognizer:(id)a0; - (BOOL)_shouldReceivePress:(id)a0; - (BOOL)shouldReceiveEvent:(id)a0; - (BOOL)_shouldDelayUntilForceLevelRequirementIsMet; - (void)setState:(long long)a0; - (void)touchesEstimatedPropertiesUpdated:(id)a0; - (void).cxx_destruct; - (void)requireGestureRecognizerToFail:(id)a0; - (void)touchesEnded:(id)a0 withEvent:(id)a1; - (long long)_defaultAllowedMouseButtons; - (BOOL)_shouldReceiveTouch:(id)a0 withEvent:(id)a1; - (void)_appendSubclassDescription:(id)a0; - (void)touchesMoved:(id)a0 withEvent:(id)a1; - (void)addTarget:(id)a0 action:(SEL)a1; - (void)setView:(id)a0; - (id)_activeTouchesForEvent:(id)a0; - (struct CGPoint { double x0; double x1; })locationInView:(id)a0; - (void)pressesCancelled:(id)a0 withEvent:(id)a1; - (id)initWithCoder:(id)a0; - (BOOL)_needsDynamicDependentRequirementForGestureRecognizer:(id)a0; - (BOOL)shouldBeRequiredToFailByGestureRecognizer:(id)a0; - (BOOL)_shouldReceiveEvent:(id)a0; - (long long)_depthFirstGestureOwnerCompare:(id)a0; - (BOOL)_paused; - (void)_componentsCancelled:(id)a0 withEvent:(id)a1; - (id)_delayedTouches; - (BOOL)_acceptsFailureRequirements; - (id)_activeEventOfType:(long long)a0; - (id)_activeEvents; - (id)_activePressesEvent; - (id)_activeTouchesEvent; - (void)_addForceTarget:(id)a0 action:(SEL)a1; - (void)_addTouch:(id)a0 forEvent:(id)a1; - (id)_allActiveTouches; - (id)_briefDescription; - (long long)_buttonMask; - (BOOL)_canExcludeOtherExcludables; - (void)_cancelRecognition; - (struct CGPoint { double x0; double x1; })_centroidOfTouches:(id)a0 excludingEnded:(BOOL)a1; - (void)_componentsBegan:(id)a0 withEvent:(id)a1; - (void)_componentsChanged:(id)a0 withEvent:(id)a1; - (void)_componentsEnded:(id)a0 withEvent:(id)a1; - (BOOL)_conformsToHoverEventRespondable; - (void)_connectInterfaceBuilderEventConnection:(id)a0; - (long long)_currentForceLevel; - (id)_defaultAllowedPressTypes; - (id)_defaultAllowedTouchTypes; - (BOOL)_delegateShouldReceiveEvent:(id)a0; - (double)_distanceBetweenTouches:(id)a0; - (void)_exclude; - (long long)_exclusiveDirectionalPressAxis; - (id)_forceLevelClassifier; - (void)_forceLevelClassifier:(id)a0 currentForceLevelDidChange:(long long)a1; - (unsigned long long)_forcePressCount; - (BOOL)_inForceCapableEnvironment; - (BOOL)_isDirty; - (BOOL)_isExcludedByExcludable:(id)a0; - (BOOL)_isRecognized; - (BOOL)_needsDynamicFailureRequirementForGestureRecognizer:(id)a0; - (id)_pairedGestureIdentifiersAndCreate:(BOOL)a0; - (void)_pressWasCancelled:(id)a0; - (void)_removeActiveEvent:(id)a0; - (void)_removeForceTarget:(id)a0 action:(SEL)a1; - (void)_removeTouch:(id)a0 forEvent:(id)a1; - (void)_removeTouch:(id)a0 forEvent:(id)a1 byCancellingTouches:(BOOL)a2; - (void)_requiredGestureRecognizerCompletedOrWasUnrelated:(id)a0; - (BOOL)_requiresGestureRecognizerToFail:(id)a0; - (void)_setAcceptsFailureRequiments:(BOOL)a0; - (void)_setAnalyticsGestureHandled:(BOOL)a0; - (void)_setDirty; - (void)_setForceLevelClassifier:(id)a0; - (void)_setWantsDragEvents:(BOOL)a0; - (BOOL)_shouldReceiveHoverTouch:(id)a0 forEvent:(id)a1 gestureOwner:(id)a2; - (BOOL)_shouldReceivePress:(id)a0 forPressesEvent:(id)a1; - (id)_touchForceObservable; - (BOOL)_touchTypeIsAllowed:(id)a0; - (void)_touchWasCancelled:(id)a0; - (void)_updateGestureForActiveEvents; - (BOOL)_wantsDragEvents; - (BOOL)_wantsHoverEventsWhilePointerIsLocked; - (BOOL)_wantsPartialTouchSequences; - (void)_willBeginAfterSatisfyingFailureRequirements; - (void)addTouchesFromGestureRecognizer:(id)a0; - (long long)currentPreviewForceState; - (void)ignorePress:(id)a0 forEvent:(id)a1; - (void)ignoreTouch:(id)a0 forEvent:(id)a1; - (void)removeFailureRequirement:(id)a0; - (long long)requiredPreviewForceState; - (void)setRequiredPreviewForceState:(long long)a0; - (void)transferTouchesFromGestureRecognizer:(id)a0; @end