One Logo Pool Ball
AppIntents · IOS API REFERENCE

IntentCollectionSize

struct · iOS 17.0+ · SDK 27.1

struct IntentCollectionSize

Members (1)

init · iOS 17.0+

init

TypeScript
static init(value: number): IntentCollectionSize
Swift declaration
init(integerLiteral value: Int)

Creates an instance initialized to the specified integer value. Do not call this initializer directly. Instead, initialize a variable or constant using an integer literal. For example: let x = 23 In this example, the assignment to the `x` constant calls this integer literal initializer behind the scenes. - Parameter value: The value to create.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

IntentCollectionSize.init(min:max:)

The iOS SDK compiler rejected this binding: expect a compile-time constant literal

IntentCollectionSize.init(exactly:)

The iOS SDK compiler rejected this binding: expect a compile-time constant literal

All AppIntents types →