One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextFormattingCoordinator

class · iOS 13.0+ · SDK 27.1

@MainActor class UITextFormattingCoordinator

Members (7)

init · iOS 13.0+

init

TypeScript
static initFor(windowScene: UIWindowScene): Promise<UITextFormattingCoordinator>
Swift declaration
convenience init(for windowScene: UIWindowScene)
static · iOS 13.0+

toggleFontPanel

TypeScript
static toggleFontPanel(sender: unknown): Promise<void>
Swift declaration
class func toggleFontPanel(_ sender: Any)
get · iOS 13.0+

isFontPanelVisible

TypeScript
static get isFontPanelVisible(): Promise<boolean>
Swift declaration
class var isFontPanelVisible: Bool { get }
init · iOS 13.0+

init

TypeScript
static initWindowScene(windowScene: UIWindowScene): Promise<UITextFormattingCoordinator>
Swift declaration
init(windowScene: UIWindowScene)
method · iOS 13.0+

setSelectedAttributes

TypeScript
setSelectedAttributes(attributes: NativeMap<_Foundation_NSAttributedString_Key, unknown>, flag: boolean): Promise<void>
Swift declaration
func setSelectedAttributes(_ attributes: [NSAttributedString.Key : Any], isMultiple flag: Bool)
get · iOS 13.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any UITextFormattingCoordinatorDelegate)? { get set }
set · iOS 13.0+

delegate

TypeScript
setDelegate(value?: (SDKHandle) | null): Promise<void>
Swift declaration
weak var delegate: (any UITextFormattingCoordinatorDelegate)? { get set }

Skipped declarations

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

UITextFormattingCoordinator.init()

inherited init: cannot prove legal (class declares 3 custom initializers)

All UIKit types →