FontSelectorViewDelegate

@available(iOS 9.0, *)
@objc(PESDKFontSelectorViewDelegate)
public protocol FontSelectorViewDelegate : AnyObject

The FontSelectorViewDelegate protocol defines methods that allow you to respond to the events of an instance of FontSelectorView.

  • Called when a font was selected in the font selector view.

    Declaration

    Swift

    func fontSelectorView(_ fontSelectorView: FontSelectorView, didSelectFontWithName fontName: String)

    Parameters

    fontSelectorView

    The font selector view that the font was selected in.

    fontName

    The name of the font that was selected.