One Logo Pool Ball
Foundation · IOS API REFERENCE

PresentationIntent

struct · iOS 15.0+ · SDK 27.1

struct PresentationIntent

A type that defines presentation intent for blocks of characters like paragraphs, lists, block quotes, and tables.

Members (8)

get · iOS 15.0+

components

TypeScript
get components(): Array<PresentationIntent_IntentType>
Swift declaration
var components: [PresentationIntent.IntentType]
set · iOS 15.0+

components

TypeScript
set components(value: Array<PresentationIntent_IntentType>)
Swift declaration
var components: [PresentationIntent.IntentType]
get · iOS 15.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var 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 · iOS 15.0+

indentationLevel

TypeScript
get indentationLevel(): number
Swift declaration
var indentationLevel: Int { get }
get · iOS 15.0+

count

TypeScript
get count(): number
Swift declaration
var count: Int { get }
init · iOS 15.0+

init

TypeScript
static initTypes(types: Array<PresentationIntent_IntentType>): PresentationIntent
Swift declaration
init(types: [PresentationIntent.IntentType])
get · iOS 15.0+

isValid

TypeScript
get isValid(): boolean
Swift declaration
var isValid: Bool { get }
init · iOS 15.0+

init

TypeScript
static initIdentityParent(kind: PresentationIntent_Kind, identity: number, parent?: (PresentationIntent) | null): PresentationIntent
Swift declaration
init(_ kind: PresentationIntent.Kind, identity: Int, parent: PresentationIntent? = nil)

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →