One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TextFormattingCommands

struct · iOS 14.0+ · SDK 27.1

nonisolated struct TextFormattingCommands

A built-in set of commands for transforming the styles applied to selections of text. These commands are optional and can be explicitly requested by passing a value of this type to the `Scene.commands(_:)` modifier.

Members (1)

init · iOS 14.0+

init

TypeScript
static init(): TextFormattingCommands
Swift declaration
nonisolated init()

A new value describing the built-in text-formatting commands.

Skipped declarations

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

TextFormattingCommands.body

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

All SwiftUI types →