Builder
@objc(MomentsThemeConfigBuilder)
public final class Builder : NSObject
Builder class of Moments Theme Config
-
This function allows you to set a custom font to show in Moments screens
Declaration
Swift
@objc public func setFont(font: UIFont?) -> Builder
Parameters
font
Font to be used
Return Value
Current builder
-
This function allows you to set custom icons to Moments
Declaration
Swift
@objc public func setIconStyling(iconStyling: MomentsIconStylingConfig) -> Builder
Return Value
Current builder
-
This function allows you to use custom analytics view
Declaration
Swift
@objc public func setAnalyticsViewType(isCustom: Bool) -> Builder
Return Value
Current builder
-
This function builds MomentsThemeConfig with the current properties
Declaration
Swift
@objc public func build() -> MomentsThemeConfig
Return Value
MomentsThemeConfig instance