UIKit · IOS API REFERENCE
UITextFormattingViewController.Component
class · iOS 18.0+ · SDK 27.1
class Component
Members (4)
init · iOS 18.0+init
TypeScriptstatic init(componentKey: UITextFormattingViewController_ComponentKey, preferredSize: UITextFormattingViewController_ComponentSize): Promise<UITextFormattingViewController_Component>
Swift declarationinit(componentKey: UITextFormattingViewController.ComponentKey, preferredSize: UITextFormattingViewController.ComponentSize)
get · iOS 18.0+componentKey
TypeScriptget componentKey(): Promise<UITextFormattingViewController_ComponentKey>
Swift declarationvar componentKey: UITextFormattingViewController.ComponentKey { get }
get · iOS 18.0+preferredSize
TypeScriptget preferredSize(): Promise<UITextFormattingViewController_ComponentSize>
Swift declarationvar preferredSize: UITextFormattingViewController.ComponentSize { get }
static · iOS 18.0+component
TypeScriptstatic component(componentKey: UITextFormattingViewController_ComponentKey, preferredSize: UITextFormattingViewController_ComponentSize): Promise<UITextFormattingViewController_Component>
Swift declarationstatic func component(_ componentKey: UITextFormattingViewController.ComponentKey, _ preferredSize: UITextFormattingViewController.ComponentSize) -> UITextFormattingViewController.Component
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UITextFormattingViewController.Component.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All UIKit types →