CustomFont

@objc
public final class CustomFont : NSObject

This class represents a custom font in Moments Text Interactive

  • Initializer of the CustomFont

    Declaration

    Swift

    @objc
    public init(identifier: String, font: UIFont)

    Parameters

    identifier

    Custom identifier of the font

    font

    Custom font to use