Builder

@objc(StorylyMomentsTextStylingBuilder)
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(setCustomFonts:)
    public func setCustomFonts(fonts: [MomentsCustomFont]) -> Builder

    Parameters

    fonts

    Fonts to show to your users while creating a text interactive

    Return Value

    Current builder

  • This function builds StorylyMomentsTextStyling with the current properties

    Declaration

    Swift

    @objc
    public func build() -> StorylyMomentsTextStyling

    Return Value

    StorylyMomentsTextStyling instance