components
TypeScriptget components(): Array<PresentationIntent_IntentType>Swift declarationvar components: [PresentationIntent.IntentType]struct · iOS 15.0+ · SDK 27.1
struct PresentationIntentA type that defines presentation intent for blocks of characters like paragraphs, lists, block quotes, and tables.
get components(): Array<PresentationIntent_IntentType>Swift declarationvar components: [PresentationIntent.IntentType]set components(value: Array<PresentationIntent_IntentType>)Swift declarationvar components: [PresentationIntent.IntentType]get debugDescription(): stringSwift declarationvar debugDescription: String { get }A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.
get indentationLevel(): numberSwift declarationvar indentationLevel: Int { get }get count(): numberSwift declarationvar count: Int { get }static initTypes(types: Array<PresentationIntent_IntentType>): PresentationIntentSwift declarationinit(types: [PresentationIntent.IntentType])get isValid(): booleanSwift declarationvar isValid: Bool { get }static initIdentityParent(kind: PresentationIntent_Kind, identity: number, parent?: (PresentationIntent) | null): PresentationIntentSwift declarationinit(_ kind: PresentationIntent.Kind, identity: Int, parent: PresentationIntent? = nil)No declarations were skipped in this snapshot.