addTextRect
TypeScriptaddTextRect(rect: { x: number; y: number; width: number; height: number }, range: SDKHandle): voidSwift declarationfunc addTextRect(_ rect: CGRect, forCharacterRange range: NSRange)class · iOS 17.4+ · SDK 27.1
class BETextDocumentContextaddTextRect(rect: { x: number; y: number; width: number; height: number }, range: SDKHandle): voidSwift declarationfunc addTextRect(_ rect: CGRect, forCharacterRange range: NSRange)static initAttributedSelectedTextContextBeforeContextAfterMarkedTextSelectedRangeInMarkedText(selectedText: (_Foundation_NSAttributedString) | null, contextBefore: (_Foundation_NSAttributedString) | null, contextAfter: (_Foundation_NSAttributedString) | null, markedText: (_Foundation_NSAttributedString) | null, selectedRangeInMarkedText: SDKHandle): BETextDocumentContextSwift declarationinit(attributedSelectedText selectedText: NSAttributedString?, contextBefore: NSAttributedString?, contextAfter: NSAttributedString?, markedText: NSAttributedString?, selectedRangeInMarkedText: NSRange)static initSelectedTextContextBeforeContextAfterMarkedTextSelectedRangeInMarkedText(selectedText: (string) | null, contextBefore: (string) | null, contextAfter: (string) | null, markedText: (string) | null, selectedRangeInMarkedText: SDKHandle): BETextDocumentContextSwift declarationinit(selectedText: String?, contextBefore: String?, contextAfter: String?, markedText: String?, selectedRangeInMarkedText: NSRange)get autocorrectedRanges(): Array<_Foundation_NSValue>Swift declarationvar autocorrectedRanges: [NSValue] { get set }set autocorrectedRanges(value: Array<_Foundation_NSValue>)Swift declarationvar autocorrectedRanges: [NSValue] { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
BETextDocumentContext.init()
inherited init: cannot prove legal (class declares 2 custom initializers)