UIKit · IOS API REFERENCE
NSTextListElement
class · iOS 16.0+ · SDK 27.1
class NSTextListElement
Members (9)
init · iOS 16.0+init
TypeScriptstatic initChildrenTextListNestingLevel(children: Array<NSTextListElement>, textList: NSTextList, nestingLevel: number): (NSTextListElement) | null
Swift declarationconvenience init?(children: [NSTextListElement], textList: NSTextList, nestingLevel: Int)
init · iOS 16.0+init
TypeScriptstatic initContentsMarkerAttributesTextListChildren(contents: _Foundation_NSAttributedString, markerAttributes: (NativeMap<_Foundation_NSAttributedString_Key, unknown>) | null, textList: NSTextList, children?: (Array<NSTextListElement>) | null): NSTextListElement
Swift declarationconvenience init(contents: NSAttributedString, markerAttributes: [NSAttributedString.Key : Any]? = nil, textList: NSTextList, children: [NSTextListElement]?)
init · iOS 16.0+init
TypeScriptstatic initParentTextListContentsMarkerAttributesChildren(parent: (NSTextListElement) | null, textList: NSTextList, contents?: (_Foundation_NSAttributedString) | null, markerAttributes?: (NativeMap<_Foundation_NSAttributedString_Key, unknown>) | null, children?: (Array<NSTextListElement>) | null): NSTextListElement
Swift declarationinit(parent: NSTextListElement?, textList: NSTextList, contents: NSAttributedString?, markerAttributes: [NSAttributedString.Key : Any]? = nil, children: [NSTextListElement]?)
get · iOS 16.0+attributedString
TypeScriptget attributedString(): _Foundation_NSAttributedString
Swift declarationvar attributedString: NSAttributedString { get }
get · iOS 16.0+childElements
TypeScriptget childElements(): Array<NSTextListElement>
Swift declarationvar childElements: [NSTextListElement] { get }
get · iOS 16.0+contents
TypeScriptget contents(): (_Foundation_NSAttributedString) | null
Swift declarationvar contents: NSAttributedString? { get }
get · iOS 16.0+markerAttributes
TypeScriptget markerAttributes(): (NativeMap<_Foundation_NSAttributedString_Key, unknown>) | null
Swift declarationvar markerAttributes: [NSAttributedString.Key : Any]? { get }
get · iOS 16.0+parent
TypeScriptget parent(): (NSTextListElement) | null
Swift declarationweak var parent: NSTextListElement? { get }
get · iOS 16.0+textList
TypeScriptget textList(): NSTextList
Swift declarationvar textList: NSTextList { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSTextListElement.init()
inherited init: cannot prove legal (class declares 6 custom initializers)
All UIKit types →