Contents

init(componentKey:preferredSize:)

Creates a text formatting view component configuration with component key and preferred size.

Declaration

init(componentKey: UITextFormattingViewController.ComponentKey, preferredSize: UITextFormattingViewController.ComponentSize)

Parameters

  • componentKey:

    Component key.

  • preferredSize:

    Preferred size of component in text formatting view.