Builder

@objc(MomentsTextConfigBuilder)
public final class Builder : NSObject

Builder class of MomentsTextConfigBuilder

  • This function allows you to set different fonts that your users will be able to select in text interactive

    Declaration

    Swift

    @objc
    public func setCustomFonts(fonts: [CustomFont]) -> Builder

    Parameters

    fonts

    Fonts to show to your users while creating a text interactive

    Return Value

    Current builder

  • This function builds MomentsTextConfig with the current properties

    Declaration

    Swift

    @objc
    public func build() -> MomentsTextConfig

    Return Value

    MomentsTextConfig instance