init
TypeScriptstatic init(textContentManager?: (NSTextContentManager) | null): NSTextElementSwift declarationinit(textContentManager: NSTextContentManager?)class · iOS 15.0+ · SDK 27.1
class NSTextElementstatic init(textContentManager?: (NSTextContentManager) | null): NSTextElementSwift declarationinit(textContentManager: NSTextContentManager?)get childElements(): Array<NSTextElement>Swift declarationvar childElements: [NSTextElement] { get }get elementRange(): (NSTextRange) | nullSwift declarationvar elementRange: NSTextRange? { get set }set elementRange(value: (NSTextRange) | null)Swift declarationvar elementRange: NSTextRange? { get set }get isRepresentedElement(): booleanSwift declarationvar isRepresentedElement: Bool { get }get parent(): (NSTextElement) | nullSwift declarationweak var parent: NSTextElement? { get }get textContentManager(): (NSTextContentManager) | nullSwift declarationweak var textContentManager: NSTextContentManager? { get set }set textContentManager(value: (NSTextContentManager) | null)Swift declarationweak var textContentManager: NSTextContentManager? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSTextElement.init()
inherited init: cannot prove legal (class declares 1 custom initializer)