One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextFormattingViewController.FormattingDescriptor

struct · iOS 18.0+ · SDK 27.1

struct FormattingDescriptor

Members (22)

init · iOS 18.0+

init

TypeScript
static initAttributes(attributes: _Foundation_AttributeContainer): Promise<UITextFormattingViewController_FormattingDescriptor>
Swift declaration
init(attributes: AttributeContainer)
init · iOS 18.0+

init

TypeScript
static initAttributes53673(attributes: NativeMap<_Foundation_NSAttributedString_Key, unknown>): Promise<UITextFormattingViewController_FormattingDescriptor>
Swift declaration
init(attributes: [NSAttributedString.Key : Any])
get · iOS 18.0+

highlights

TypeScript
get highlights(): Promise<Array<UITextFormattingViewController_Highlight>>
Swift declaration
var highlights: Set<UITextFormattingViewController.Highlight>
set · iOS 18.0+

highlights

TypeScript
setHighlights(value: Array<UITextFormattingViewController_Highlight>): Promise<void>
Swift declaration
var highlights: Set<UITextFormattingViewController.Highlight>
get · iOS 18.0+

lineHeight

TypeScript
get lineHeight(): Promise<(number) | null>
Swift declaration
var lineHeight: Double?
set · iOS 18.0+

lineHeight

TypeScript
setLineHeight(value?: (number) | null): Promise<void>
Swift declaration
var lineHeight: Double?
get · iOS 18.0+

textColors

TypeScript
get textColors(): Promise<Array<UIColor>>
Swift declaration
var textColors: [UIColor]
set · iOS 18.0+

textColors

TypeScript
setTextColors(value: Array<UIColor>): Promise<void>
Swift declaration
var textColors: [UIColor]
get · iOS 18.0+

textAlignments

TypeScript
get textAlignments(): Promise<Array<UITextFormattingViewController_TextAlignment>>
Swift declaration
var textAlignments: Set<UITextFormattingViewController.TextAlignment>
set · iOS 18.0+

textAlignments

TypeScript
setTextAlignments(value: Array<UITextFormattingViewController_TextAlignment>): Promise<void>
Swift declaration
var textAlignments: Set<UITextFormattingViewController.TextAlignment>
get · iOS 18.0+

underlinePresent

TypeScript
get underlinePresent(): Promise<boolean>
Swift declaration
var underlinePresent: Bool
set · iOS 18.0+

underlinePresent

TypeScript
setUnderlinePresent(value: boolean): Promise<void>
Swift declaration
var underlinePresent: Bool
get · iOS 18.0+

formattingStyleKey

TypeScript
get formattingStyleKey(): Promise<(string) | null>
Swift declaration
var formattingStyleKey: String?
set · iOS 18.0+

formattingStyleKey

TypeScript
setFormattingStyleKey(value?: (string) | null): Promise<void>
Swift declaration
var formattingStyleKey: String?
get · iOS 18.0+

strikethroughPresent

TypeScript
get strikethroughPresent(): Promise<boolean>
Swift declaration
var strikethroughPresent: Bool
set · iOS 18.0+

strikethroughPresent

TypeScript
setStrikethroughPresent(value: boolean): Promise<void>
Swift declaration
var strikethroughPresent: Bool
get · iOS 18.0+

fonts

TypeScript
get fonts(): Promise<Array<UIFont>>
Swift declaration
var fonts: [UIFont]
set · iOS 18.0+

fonts

TypeScript
setFonts(value: Array<UIFont>): Promise<void>
Swift declaration
var fonts: [UIFont]
init · iOS 18.0+

init

TypeScript
static initStringRange(string: _Foundation_NSAttributedString, range: SDKHandle): Promise<UITextFormattingViewController_FormattingDescriptor>
Swift declaration
init(string: NSAttributedString, range: NSRange)
get · iOS 18.0+

textLists

TypeScript
get textLists(): Promise<Array<UITextFormattingViewController_TextList>>
Swift declaration
var textLists: Set<UITextFormattingViewController.TextList>
set · iOS 18.0+

textLists

TypeScript
setTextLists(value: Array<UITextFormattingViewController_TextList>): Promise<void>
Swift declaration
var textLists: Set<UITextFormattingViewController.TextList>
init · iOS 18.0+

init

TypeScript
static init(): Promise<UITextFormattingViewController_FormattingDescriptor>
Swift declaration
init()

Skipped declarations

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

UITextFormattingViewController.FormattingDescriptor.init(string:)

This parameter hides a concrete Swift type.

All UIKit types →