@class UITextChecker, UITextSelectionView, UITextRange, UILongPressGestureRecognizer, UITextRangeAdjustmentInteraction, _UITextChoiceAccelerationAssistant, UIContextMenuInteraction, UIResponder, NSString, _UITextInteractionAssistantGestureState, UITextInteraction, UITextLinkInteraction, UITextContextMenuInteraction, UITextCursorAssertionController, UIFieldEditor, UIView, UIPointerInteraction, UIGestureRecognizer, UITextSelection, _UITextFloatingCursorSession, _UITextInteractionEditMenuAssistant, UITextSelectionDisplayInteraction, UIScrollView, _UIKeyboardTextSelectionController, UITapGestureRecognizer, NSNumber; @protocol _UITextSelectionWidgetAnimating, UITextInput, UIContextMenuInteractionDelegate, UITextCursorAssertion; @interface UITextInteractionAssistant : NSObject <UITextInteraction_AssistantDelegate, UITextCursorAssertionControllerSubject, UITextSelectionDisplayInteractionDelegate, UITextSelectionDisplayInteractionDelegate_Internal, UITextRangeAdjustmentInteractionDelegate, UIPointerInteractionDelegate, UIResponderStandardEditActions> { UIResponder<UITextInput> *_view; UITextSelectionView *_selectionView; int _autoscrollRamp; double _autoscrollFactor; struct CGPoint { double x; double y; } _autoscrollBasePoint; struct CGPoint { double x; double y; } _autoscrollUntransformedExtentPoint; struct CGPoint { double x; double y; } _loupeGestureEndPoint; UITextChecker *_textChecker; BOOL _inGesture; BOOL _autoscrolled; BOOL _willHandoffLoupeMagnifier; BOOL _needsGestureUpdate; long long _previousRepeatedGranularity; UITextRange *_stashedTextRange; BOOL _didUseStashedRange; BOOL _expectingCommit; BOOL _externalTextInput; BOOL _suppressSystemUI; UIPointerInteraction *_pointerInteraction; BOOL _automaticSelectionCommandsSuppressed; unsigned long long _activeSelectionInteractions; UITextLinkInteraction *_linkInteraction; UITextContextMenuInteraction *_textContextMenuInteraction; id<UIContextMenuInteractionDelegate> _externalContextMenuInteractionDelegate; UITextInteraction *_interactions; long long _textInteractionMode; UITextInteraction *_externalInteractions; id _grabberSuppressionAssertion; id _keyboardSuppressionAssertion; _UITextInteractionAssistantGestureState *_gestureState; UITextSelectionDisplayInteraction *_selectionViewManager; _UITextInteractionEditMenuAssistant *_editMenuAssistant; _UITextChoiceAccelerationAssistant *_textChoicesAssistant; _UIKeyboardTextSelectionController *_textSelectionController; UITextCursorAssertionController *_assertionController; unsigned long long _activeIndicators; id<UITextCursorAssertion> _showInputModesCursorAssertion; id<UITextCursorAssertion> _showDeleteButtonCursorAssertion; _UITextFloatingCursorSession *_floatingCursorSession; UITextRangeAdjustmentInteraction *_rangeAdjustmentInteraction; BOOL _detaching; NSNumber *_viewConformsToTextItemInteracting; NSNumber *_viewRespondsToInteractiveTextSelectionDisabled; NSNumber *_viewConformsToAsynchronousInteractionViewProtocol; } @property (readonly, nonatomic) UIResponder<UITextInput> *view; @property (readonly, nonatomic) UIResponder<UITextInput> *textDocument; @property (readonly, retain, nonatomic) UILongPressGestureRecognizer *loupeGesture; @property (readonly, retain, nonatomic) UITapGestureRecognizer *singleTapGesture; @property (readonly, retain, nonatomic) UIGestureRecognizer *doubleTapGesture; @property (readonly, retain, nonatomic) UIGestureRecognizer *forcePressGesture; @property (nonatomic) BOOL inGesture; @property (readonly, nonatomic) UIScrollView *scrollView; @property (nonatomic) BOOL autoscrolled; @property (nonatomic) struct CGPoint { double x0; double x1; } autoscrollUntransformedExtentPoint; @property (readonly, nonatomic) BOOL externalTextInput; @property (nonatomic) struct CGPoint { double x0; double x1; } loupeGestureEndPoint; @property (readonly, nonatomic) BOOL willHandoffLoupeMagnifier; @property (readonly, retain, nonatomic) UITextInteraction *interactions; @property (retain, nonatomic) UITextInteraction *externalInteractions; @property (readonly, retain, nonatomic) UITextLinkInteraction *linkInteraction; @property (readonly, nonatomic) UITextSelectionDisplayInteraction *_selectionViewManager; @property (readonly, nonatomic) UITextCursorAssertionController *_assertionController; @property (nonatomic) BOOL expectingCommit; @property (nonatomic) unsigned long long activeIndicators; @property (nonatomic) BOOL needsGestureUpdate; @property (readonly, nonatomic) _UIKeyboardTextSelectionController *activeSelectionController; @property (readonly, nonatomic) _UITextInteractionEditMenuAssistant *_editMenuAssistant; @property (readonly, nonatomic) _UITextChoiceAccelerationAssistant *_textChoicesAssistant; @property (retain, nonatomic) id grabberSuppressionAssertion; @property (retain, nonatomic) id keyboardSuppressionAssertion; @property (readonly, nonatomic) UIView<_UITextSelectionWidgetAnimating> *_caretView; @property (nonatomic) int selectionHighlightMode; @property (readonly, nonatomic) UITextSelection *activeSelection; @property (readonly, nonatomic) UITextRangeAdjustmentInteraction *rangeAdjustmentInteraction; @property (nonatomic, getter=isSelectionDisplayVisible) BOOL selectionDisplayVisible; @property (nonatomic, getter=isCursorBlinkAnimationEnabled) BOOL cursorBlinkAnimationEnabled; @property (readonly, nonatomic, getter=isDisplayingVerticalSelection) BOOL displayingVerticalSelection; @property (nonatomic) int glowViewMode; @property (readonly, nonatomic) UIView *dynamicCaretView; @property (readonly, nonatomic) UIContextMenuInteraction *contextMenuInteraction; @property (weak, nonatomic) id<UIContextMenuInteractionDelegate> externalContextMenuInteractionDelegate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (nonatomic) BOOL cursorBlinks; @property (nonatomic) BOOL cursorVisible; @property (nonatomic) BOOL ghostAppearance; @property (readonly, nonatomic) BOOL canShowSelectionCommands; @property (readonly, nonatomic) UIFieldEditor *fieldEditor; @property (readonly, nonatomic, getter=isInteractiveSelectionDisabled) BOOL interactiveSelectionDisabled; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (long long)_nextGranularityInCycle:(long long)a0 forTouchType:(long long)a1; - (void)showSelectionCommands; - (id)initWithView:(id)a0; - (void)clearSelection; - (void)scheduleReplacementsWithOptions:(unsigned long long)a0; - (void)pointerInteraction:(id)a0 willExitRegion:(id)a1 animator:(id)a2; - (void)setSelectionWithPoint:(struct CGPoint { double x0; double x1; })a0; - (void)cancelAutoscroll; - (void)selectionChanged; - (void)selectAll:(id)a0; - (void)startAutoscroll:(struct CGPoint { double x0; double x1; })a0; - (void)endFloatingCursor; - (void)scrollSelectionToVisible:(BOOL)a0; - (void)rangeSelectionStarted:(struct CGPoint { double x0; double x1; })a0; - (void)pointerInteraction:(id)a0 willEnterRegion:(id)a1 animator:(id)a2; - (BOOL)containerIsBrowserView; - (void)dealloc; - (BOOL)shouldSuppressSelectionCommands; - (BOOL)isDisplayingMenu; - (void)attach; - (void)configureForPencilDeletionPreviewMode; - (void)beginFloatingCursorAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)presentMenuForInputUI:(id)a0; - (void)hideSelectionCommands; - (void)layoutChangedByScrolling:(BOOL)a0; - (void)configureForHighlightMode; - (void)updateSelectionWithPoint:(struct CGPoint { double x0; double x1; })a0; - (void)detach; - (void)updateFloatingCursorAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)addGestureRecognizersToView:(id)a0; - (BOOL)textRangeAdjustmentInteraction:(id)a0 shouldBeginAtPoint:(struct CGPoint { double x0; double x1; })a1; - (void)invalidate; - (void)configureForPencilHighlightMode; - (void)rangeSelectionCanceled; - (void)extendSelectionToPoint:(struct CGPoint { double x0; double x1; })a0; - (void)activate; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRectForTextRangeAdjustmentInteraction:(id)a0; - (void)updateFloatingCursorAtPoint:(struct CGPoint { double x0; double x1; })a0 animated:(BOOL)a1; - (void)willBeginFloatingCursor:(BOOL)a0; - (id)_asText; - (void)rangeSelectionEnded:(struct CGPoint { double x0; double x1; })a0; - (void)selectWord; - (id)pointerInteraction:(id)a0 regionForRequest:(id)a1 defaultRegion:(id)a2; - (void)scrollSelectionToVisible; - (BOOL)containerAllowsSelection; - (BOOL)isValid; - (BOOL)wantsLinkInteraction; - (id)textRangeAdjustmentViewForEdge:(unsigned long long)a0; - (void)detach:(BOOL)a0; - (BOOL)textRangeAdjustmentInteractionShouldApplyTouchOffset:(id)a0; - (void).cxx_destruct; - (void)textRangeAdjustmentInteraction:(id)a0 selectionMoved:(struct CGPoint { double x0; double x1; })a1 withTouchPoint:(struct CGPoint { double x0; double x1; })a2; - (void)removeTextChoiceUnderlines; - (BOOL)requiresImmediateUpdate; - (id)_pointerInteractionDelegate; - (id)pointerInteraction:(id)a0 styleForRegion:(id)a1; - (id)textSelectionView; - (long long)currentCursorBehavior; - (BOOL)usesAsynchronousSelectionController; - (void)textRangeAdjustmentInteraction:(id)a0 didBeginAtPoint:(struct CGPoint { double x0; double x1; })a1; - (id)generatorForRange:(id)a0 withOptions:(unsigned long long)a1; - (void)dismissMenuForInputUI; - (unsigned long long)loupeOrientationForTextRangeAdjustmentInteraction:(id)a0; - (id)containerCoordinateSpaceForTextRangeAdjustmentInteraction:(id)a0; - (void)configureForSelectionMode; - (BOOL)isDisplayingMenuForInputUI; - (void)configureForReplacementMode; - (void)textRangeAdjustmentInteractionWasCancelled:(id)a0; - (void)updateWithMagnifierTerminalPoint:(BOOL)a0; - (void)updateAutoscroll:(id)a0; - (void)textRangeAdjustmentInteraction:(id)a0 didEndAtPoint:(struct CGPoint { double x0; double x1; })a1; - (void)rangeSelectionMoved:(struct CGPoint { double x0; double x1; })a0 withTouchPoint:(struct CGPoint { double x0; double x1; })a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })textRangeAdjustmentRectForEdge:(unsigned long long)a0; - (id)selectionView; - (BOOL)textRangeAdjustmentInteraction:(id)a0 shouldDisplayLoupeForTouchType:(long long)a1; - (id)attributedTextInRange:(id)a0; - (Class)selectionInteractionClass; - (BOOL)containerAllowsSelectionTintOnly; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })paddedTextRangeAdjustmentHitRegionForEdge:(unsigned long long)a0 precision:(unsigned long long)a1; - (BOOL)didPerformLoupeSelectionHandoff; - (id)selectionContainerViewAboveText; - (id)_selectionViewManager:(id)a0 obtainBlinkSuppressionAssertionForReason:(id)a1; - (BOOL)hasReplacements; - (void)scheduleDictationReplacementsForMultilingualAlternatives:(id)a0 range:(id)a1; - (id)_computeGestureStateForView:(id)a0; - (id)_legacySelectionView; - (struct CGPoint { double x0; double x1; })_rangeAdjustmentPointInTextInputCoordinateSpace:(struct CGPoint { double x0; double x1; })a0; - (id)_rangeAdjustmentViewContainer; - (id)_scrollable; - (BOOL)_selectionIsActivated; - (id)_selectionView; - (id)_selectionViewManager:(id)a0 obtainGhostCursorAssertionForReason:(id)a1; - (void)_setTextSelectionControllerFromDelegate; - (id)_textReplacementsMenuForElement:(id)a0; - (void)_updateSelectionInViewIfNeeded:(id)a0 toRange:(id)a1; - (void)_updateSelectionWithPoint:(struct CGPoint { double x0; double x1; })a0 granularity:(long long)a1 forceGranularity:(BOOL)a2; - (void)activateSelection; - (void)autoscrollWillNotStart; - (void)canBeginDragCursor:(id)a0; - (BOOL)canShowSelectionCommands; - (void)checkEditabilityAndSetFirstResponderIfNecessary; - (void)clearGestureRecognizers; - (void)clearGestureRecognizers:(BOOL)a0; - (void)clearStashedSelection; - (void)commitSelectionWithPoint:(struct CGPoint { double x0; double x1; })a0; - (struct CGPoint { double x0; double x1; })constrainedPoint:(struct CGPoint { double x0; double x1; })a0; - (BOOL)containerIsTextField; - (unsigned long long)currentDraggedHandle; - (void)deactivateSelection; - (void)didEndScrollingOrZooming; - (void)didEndSelectionInteraction; - (BOOL)didUseStashedSelection; - (void)extendSelectionToLoupeOrSetToPoint:(struct CGPoint { double x0; double x1; })a0; - (id)fieldEditor; - (BOOL)handleMultilingualAlternativeWithString:(id)a0 range:(id)a1; - (BOOL)hasActiveSelectionInteraction; - (id)initWithResponder:(id)a0; - (id)initWithView:(id)a0 textInteractionMode:(long long)a1; - (void)lollipopGestureWithState:(long long)a0 location:(struct CGPoint { double x0; double x1; })a1 locationOfFirstTouch:(struct CGPoint { double x0; double x1; })a2 forTouchType:(long long)a3; - (void)loupeGestureWithState:(long long)a0 location:(id /* block */)a1 translation:(id /* block */)a2 velocity:(id /* block */)a3 modifierFlags:(long long)a4 shouldCancel:(BOOL *)a5; - (void)loupeMagnifierWithState:(long long)a0 atPoint:(struct CGPoint { double x0; double x1; })a1; - (unsigned long long)loupeOrientation; - (void)notifyKeyboardSelectionChanged; - (id)obtainSelectionGrabberSuppressionAssertion; - (id)rangeForTextReplacement:(id)a0; - (void)rangedMagnifierWithState:(long long)a0 atPoint:(struct CGPoint { double x0; double x1; })a1; - (void)resetWillHandoffLoupeMagnifier; - (void)resignedFirstResponder; - (void)scheduleChineseTransliteration; - (void)scheduleDictationReplacementsForAlternatives:(id)a0 range:(id)a1; - (void)scheduleReplacements; - (BOOL)scheduleReplacementsForRange:(id)a0 withOptions:(unsigned long long)a1; - (void)selectWordWithoutShowingCommands; - (void)selectionAnimationDidStop; - (id)selectionContainerView; - (id)selectionContainerViewBelowTextForSelectionDisplayInteraction:(id)a0; - (void)setAutomaticSelectionCommandsSuppressedForPointerTouchType:(BOOL)a0; - (void)setFirstResponderIfNecessary; - (void)setFirstResponderIfNecessaryActivatingSelection:(BOOL)a0; - (void)setGestureRecognizers; - (void)setNeedsSelectionDisplayUpdate; - (void)setSuppressSystemUI:(BOOL)a0; - (void)setWillHandoffLoupeMagnifier; - (BOOL)shouldDisplayLoupeSessionForTouchType:(long long)a0; - (BOOL)showMultilingualDictationReplacementWithRange:(id)a0; - (void)stashCurrentSelection; - (BOOL)supportsIndirectInteractions; - (BOOL)swallowsDoubleTapWithScale:(double)a0 atPoint:(struct CGPoint { double x0; double x1; })a1; - (void)underlineCorrectedTextInRange:(id)a0 typedString:(id)a1; - (void)updateDisplayedSelection; - (id)updatedTextReplacementsMenuWithMenuElements:(id)a0; - (BOOL)useGesturesForEditableContent; - (BOOL)viewConformsToAsynchronousInteractionProtocol; - (BOOL)viewCouldBecomeEditable:(id)a0; - (void)willBeginSelectionInteraction; - (void)willStartScrollingOrZooming; @end