@class NSTextStorage, NSMapTable, UITextRange, NSTextContainer, NSLayoutManager, NSString, NSTextLayoutManager, CUIStyleEffectConfiguration, UITextView, NSMutableSet, NSArray, UITextPosition, NSTextContentStorage; @protocol NSLayoutManagerDelegate; @interface _UITextKit2LayoutController : _UITextLayoutControllerBase <NSTextLayoutManagerDelegate, _UITextLayoutController> { UITextView *_textView; NSTextContentStorage *_textContentStorage; NSTextLayoutManager *_textLayoutManager; NSMutableSet *_ghostedRanges; NSMutableSet *_invisibleRanges; NSMapTable *_textCanvasViews; } @property (class, readonly) BOOL coordinateSystemCompatibilityFor2022AndEarlierSDKEnabled; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, nonatomic) NSTextStorage *textStorage; @property (readonly, nonatomic) UITextPosition *beginningOfDocument; @property (readonly, nonatomic) UITextPosition *endOfDocument; @property (readonly, nonatomic) UITextRange *documentRange; @property (copy, nonatomic) CUIStyleEffectConfiguration *styleEffectConfiguration; @property (readonly, copy, nonatomic) NSArray *textContainers; @property (readonly, nonatomic) NSTextContainer *firstTextContainer; @property (readonly, nonatomic) BOOL canAccessLayoutManager; @property (nonatomic) BOOL usesTiledViews; @property (nonatomic) double maxTileHeight; @property (nonatomic) BOOL drawsDebugBaselines; @property (readonly, nonatomic) NSLayoutManager *layoutManager; @property (weak, nonatomic) id<NSLayoutManagerDelegate> layoutManagerDelegate; @property (getter=isEditable) BOOL editable; - (id)annotatedSubstringForRange:(id)a0; - (void)removeAnnotationAttribute:(id)a0 forRange:(id)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })boundingRectForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })updateLayoutForSizeChangeOfTextContainer:(id)a0; - (void)invalidateLayoutForRange:(id)a0; - (void)addAnnotationAttribute:(id)a0 value:(id)a1 forRange:(id)a2; - (long long)offsetFromPosition:(id)a0 toPosition:(id)a1; - (void)dealloc; - (long long)comparePosition:(id)a0 toPosition:(id)a1; - (id)textRangeFromPosition:(id)a0 toPosition:(id)a1; - (void)removeInvisibleRange:(id)a0; - (void)setDocumentObscured:(BOOL)a0; - (void)enumerateTextSegmentsInRange:(id)a0 inTextContainer:(id)a1 usingBlock:(id /* block */)a2; - (void)addRenderingAttributes:(id)a0 forRange:(id)a1; - (void)requestTextGeometryAtPosition:(id)a0 typingAttributes:(id)a1 resultBlock:(id /* block */)a2; - (id)textRangeForTextKit2Ranges:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })insertionRectForPosition:(id)a0 typingAttributes:(id)a1 placeholderAttachment:(id)a2 textContainer:(id *)a3; - (id)textRangeForLineEnclosingPosition:(id)a0 effectiveAffinity:(long long)a1; - (id)emptyTextRangeAtPosition:(id)a0; - (long long)baseWritingDirectionAtPosition:(id)a0; - (id)positionWithOffset:(long long)a0 affinity:(long long)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })characterRangeForTextRange:(id)a0 clippedToDocument:(BOOL)a1; - (void)ensureLayoutForBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inTextContainer:(id)a1; - (id)dequeueCanvasViewForTextContainer:(id)a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })rangeOfCharacterClusterAtIndex:(unsigned long long)a0 type:(long long)a1; - (id)textRangeForLineEnclosingPosition:(id)a0; - (id)selectionRectsForRange:(id)a0 fromView:(id)a1 forContainerPassingTest:(id /* block */)a2; - (void)setUnobscuredRange:(id)a0; - (id)_visualSelectionRangeForExtent:(id)a0 forPoint:(struct CGPoint { double x0; double x1; })a1 fromPosition:(id)a2 inDirection:(long long)a3; - (id)attributesAtPosition:(id)a0 inDirection:(long long)a1; - (id)positionFromPosition:(id)a0 offset:(long long)a1 affinity:(long long)a2; - (void)enumerateTextLineFragmentsInRange:(id)a0 usingBlock:(id /* block */)a1; - (double)baselineOffsetForFirstGlyph; - (void)removeAllGhostedRanges; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })unionRectForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 bottomInset:(double)a1; - (void)suspendTiling; - (void)invalidateDisplayForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)removeRenderingAttributes:(id)a0 forRange:(id)a1; - (id)textContainerForPosition:(id)a0; - (void).cxx_destruct; - (void)ensureLayoutForRange:(id)a0; - (id)positionFromPosition:(id)a0 inDirection:(long long)a1 offset:(long long)a2 affinity:(long long)a3 anchorPositionOffset:(double)a4; - (void)resumeTiling; - (id)previewRendererForRange:(id)a0 unifyRects:(BOOL)a1; - (id)textRangeForBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 inTextContainer:(id)a1 layoutIfNeeded:(BOOL)a2; - (id)textLayoutManager:(id)a0 renderingAttributesForLink:(id)a1 atLocation:(id)a2 defaultAttributes:(id)a3; - (id)cursorPositionAtPoint:(struct CGPoint { double x0; double x1; })a0 inContainer:(id)a1; - (id)_rangeForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })extraLineFragmentRect; - (id)_updateSelectionWithTextRange:(id)a0 affinity:(long long)a1 typingAttributes:(id)a2; - (id)initWithTextView:(id)a0 textContentStorage:(id)a1 textContainer:(id)a2; - (void)resetFontForExtraBulletRendering; - (long long)affinityForPosition:(id)a0; - (void)_textContentStorageAddedUnsupportedAttribute:(id)a0; - (id)initWithTextView:(id)a0 textContainer:(id)a1; - (void)addInvisibleRange:(id)a0; - (void)addGhostedRange:(id)a0; - (id)nearestPositionAtPoint:(struct CGPoint { double x0; double x1; })a0 inContainer:(id)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })characterRangeForTextRange:(id)a0; - (id)textRangeForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })usedRectForTextContainer:(id)a0; - (id)annotationAttribute:(id)a0 atPosition:(id)a1; - (void)ensureLayoutForTextContainer:(id)a0; - (id)attributedTextInRange:(id)a0; - (id)_locationWithOffset:(long long)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })boundingRectForRange:(id)a0; @end