linkRenderingAttributes
TypeScriptstatic get linkRenderingAttributes(): NativeMap<_Foundation_NSAttributedString_Key, unknown>Swift declarationclass var linkRenderingAttributes: [NSAttributedString.Key : Any] { get }class · iOS 15.0+ · SDK 27.1
class NSTextLayoutManagerstatic get linkRenderingAttributes(): NativeMap<_Foundation_NSAttributedString_Key, unknown>Swift declarationclass var linkRenderingAttributes: [NSAttributedString.Key : Any] { get }addRenderingAttribute(renderingAttribute: _Foundation_NSAttributedString_Key, value: (unknown) | null, textRange: NSTextRange): voidSwift declarationfunc addRenderingAttribute(_ renderingAttribute: NSAttributedString.Key, value: Any?, for textRange: NSTextRange)ensureLayoutFor(bounds: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc ensureLayout(for bounds: CGRect)ensureLayoutFor24253(range: NSTextRange): voidSwift declarationfunc ensureLayout(for range: NSTextRange)static init(): NSTextLayoutManagerSwift declarationinit()static initCoder(coder: _Foundation_NSCoder): (NSTextLayoutManager) | nullSwift declarationinit?(coder: NSCoder)invalidateLayout(range: NSTextRange): voidSwift declarationfunc invalidateLayout(for range: NSTextRange)invalidateRenderingAttributes(textRange: NSTextRange): voidSwift declarationfunc invalidateRenderingAttributes(for textRange: NSTextRange)removeRenderingAttribute(renderingAttribute: _Foundation_NSAttributedString_Key, textRange: NSTextRange): voidSwift declarationfunc removeRenderingAttribute(_ renderingAttribute: NSAttributedString.Key, for textRange: NSTextRange)renderingAttributes(link: unknown, location: SDKHandle): NativeMap<_Foundation_NSAttributedString_Key, unknown>Swift declarationfunc renderingAttributes(forLink link: Any, at location: any NSTextLocation) -> [NSAttributedString.Key : Any]replaceContentsInWith(range: NSTextRange, attributedString: _Foundation_NSAttributedString): voidSwift declarationfunc replaceContents(in range: NSTextRange, with attributedString: NSAttributedString)replaceContentsInWith56453(range: NSTextRange, textElements: Array<NSTextElement>): voidSwift declarationfunc replaceContents(in range: NSTextRange, with textElements: [NSTextElement])replace(textContentManager: NSTextContentManager): voidSwift declarationfunc replace(_ textContentManager: NSTextContentManager)setRenderingAttributes(renderingAttributes: NativeMap<_Foundation_NSAttributedString_Key, unknown>, textRange: NSTextRange): voidSwift declarationfunc setRenderingAttributes(_ renderingAttributes: [NSAttributedString.Key : Any], for textRange: NSTextRange)textLayoutFragmentFor(location: SDKHandle): (NSTextLayoutFragment) | nullSwift declarationfunc textLayoutFragment(for location: any NSTextLocation) -> NSTextLayoutFragment?textLayoutFragmentFor47826(position: { x: number; y: number }): (NSTextLayoutFragment) | nullSwift declarationfunc textLayoutFragment(for position: CGPoint) -> NSTextLayoutFragment?get delegate(): (SDKHandle) | nullSwift declarationweak var delegate: (any NSTextLayoutManagerDelegate)? { get set }set delegate(value: (Implements<NSTextLayoutManagerDelegate> | SDKHandle) | null)Swift declarationweak var delegate: (any NSTextLayoutManagerDelegate)? { get set }get layoutQueue(): (_Foundation_OperationQueue) | nullSwift declarationvar layoutQueue: OperationQueue? { get set }set layoutQueue(value: (_Foundation_OperationQueue) | null)Swift declarationvar layoutQueue: OperationQueue? { get set }get limitsLayoutForSuspiciousContents(): booleanSwift declarationvar limitsLayoutForSuspiciousContents: Bool { get set }set limitsLayoutForSuspiciousContents(value: boolean)Swift declarationvar limitsLayoutForSuspiciousContents: Bool { get set }get renderingAttributesValidator(): (((arg0: NSTextLayoutManager, arg1: NSTextLayoutFragment) => Promise<void>)) | nullSwift declarationvar renderingAttributesValidator: ((NSTextLayoutManager, NSTextLayoutFragment) -> Void)? { get set }set renderingAttributesValidator(value: (((arg0: NSTextLayoutManager, arg1: NSTextLayoutFragment) => void)) | null)Swift declarationvar renderingAttributesValidator: ((NSTextLayoutManager, NSTextLayoutFragment) -> Void)? { get set }get resolvesNaturalAlignmentWithBaseWritingDirection(): booleanSwift declarationvar resolvesNaturalAlignmentWithBaseWritingDirection: Bool { get set }set resolvesNaturalAlignmentWithBaseWritingDirection(value: boolean)Swift declarationvar resolvesNaturalAlignmentWithBaseWritingDirection: Bool { get set }get textContainer(): (NSTextContainer) | nullSwift declarationvar textContainer: NSTextContainer? { get set }set textContainer(value: (NSTextContainer) | null)Swift declarationvar textContainer: NSTextContainer? { get set }get textContentManager(): (NSTextContentManager) | nullSwift declarationweak var textContentManager: NSTextContentManager? { get }get textSelectionNavigation(): NSTextSelectionNavigationSwift declarationvar textSelectionNavigation: NSTextSelectionNavigation { get set }set textSelectionNavigation(value: NSTextSelectionNavigation)Swift declarationvar textSelectionNavigation: NSTextSelectionNavigation { get set }get textSelections(): Array<NSTextSelection>Swift declarationvar textSelections: [NSTextSelection] { get set }set textSelections(value: Array<NSTextSelection>)Swift declarationvar textSelections: [NSTextSelection] { get set }get textViewportLayoutController(): NSTextViewportLayoutControllerSwift declarationvar textViewportLayoutController: NSTextViewportLayoutController { get }get usageBoundsForTextContainer(): { x: number; y: number; width: number; height: number }Swift declarationvar usageBoundsForTextContainer: CGRect { get }get usesFontLeading(): booleanSwift declarationvar usesFontLeading: Bool { get set }set usesFontLeading(value: boolean)Swift declarationvar usesFontLeading: Bool { get set }get usesHyphenation(): booleanSwift declarationvar usesHyphenation: Bool { get set }set usesHyphenation(value: boolean)Swift declarationvar usesHyphenation: Bool { get set }3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSTextLayoutManager.enumerateTextLayoutFragments(from:options:using:)
callback cannot propagate synchronous failure
NSTextLayoutManager.enumerateRenderingAttributes(from:reverse:using:)
callback cannot propagate synchronous failure
NSTextLayoutManager.enumerateTextSegments(in:type:options:using:)
callback cannot propagate synchronous failure