One Logo Pool Ball
FoundationModels · IOS API REFERENCE

AnyDynamicInstructions

struct · iOS 27.0+ · SDK 27.1

struct AnyDynamicInstructions

A dynamic instructions type that's type-erased.

Members (2)

get · iOS 27.0+

body

TypeScript
get body(): never
Swift declaration
var body: Never { get }

The content of the dynamic instructions.

init · iOS 27.0+

init

TypeScript
static init(dynamicInstructions: SDKHandle): AnyDynamicInstructions
Swift declaration
init(_ dynamicInstructions: any DynamicInstructions)

Creates an instance from the dynamic instructions you specify. - Parameters: - dynamicInstructions: The dynamic instructions.

Skipped declarations

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

AnyDynamicInstructions.init(erasing:)

This protocol needs associated types that cannot yet cross the bridge.

All FoundationModels types →