One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextFormattingViewController.FormattingStyle

struct · iOS 18.0+ · SDK 27.1

struct FormattingStyle

Members (5)

get · iOS 18.0+

attributes

TypeScript
get attributes(): Promise<_Foundation_AttributeContainer>
Swift declaration
let attributes: AttributeContainer
get · iOS 18.0+

title

TypeScript
get title(): Promise<_Foundation_LocalizedStringResource>
Swift declaration
let title: LocalizedStringResource
init · iOS 18.0+

init

TypeScript
static initStyleKeyTitleAttributes(styleKey: string, title: _Foundation_LocalizedStringResource, attributes: _Foundation_AttributeContainer): Promise<UITextFormattingViewController_FormattingStyle>
Swift declaration
init(styleKey: String, title: LocalizedStringResource, attributes: AttributeContainer)
init · iOS 18.0+

init

TypeScript
static initStyleKeyTitleAttributes60986(styleKey: string, title: _Foundation_LocalizedStringResource, attributes: NativeMap<_Foundation_NSAttributedString_Key, unknown>): Promise<UITextFormattingViewController_FormattingStyle>
Swift declaration
init(styleKey: String, title: LocalizedStringResource, attributes: [NSAttributedString.Key : Any])
get · iOS 18.0+

styleKey

TypeScript
get styleKey(): Promise<string>
Swift declaration
let styleKey: String

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →