Builder
@objc(StorylyStoryStylingBuilder)
public class Builder : NSObject
Builder class of StorylyStoryStyling
-
This function allows you to change the header icon border color of the story view
Declaration
Swift
@objc(setHeaderIconBorderColor:) public func setHeaderIconBorderColor(colors: [UIColor]) -> Builder
-
This function allows you to change the header text color of the story view
Declaration
Swift
@objc(setTitleColor:) public func setTitleColor(color: UIColor) -> Builder
-
This function allows you to change the font of the story view header text
Declaration
Swift
@objc(setTitleFont:) public func setTitleFont(font: UIFont) -> Builder
-
This function allows you to change the typeface of the font on the interactives
Declaration
Swift
@objc(setInteractiveFont:) public func setInteractiveFont(font: UIFont?) -> Builder
-
This function allows you to change the progress bar colors of the story view.
Declaration
Swift
@objc(setProgressBarColor:) public func setProgressBarColor(colors: [UIColor]) -> Builder
-
This function allows you to change the visibility of the story view header text
Declaration
Swift
@objc(setTitleVisibility:) public func setTitleVisibility(isVisible: Bool) -> Builder
-
This function allows you to change the visibility of the story view header icon
Declaration
Swift
@objc(setHeaderIconVisibility:) public func setHeaderIconVisibility(isVisible: Bool) -> Builder
-
This function allows you to change the visibility of the story view header close button
Declaration
Swift
@objc(setCloseButtonVisibility:) public func setCloseButtonVisibility(isVisible: Bool) -> Builder
-
This function allows you to change the UIImage of the story view header close button icon
Declaration
Swift
@objc(setCloseButtonIcon:) public func setCloseButtonIcon(icon: UIImage?) -> Builder
-
This function allows you to change the UIImage of the story view header share button icon
Declaration
Swift
@objc(setShareButtonIcon:) public func setShareButtonIcon(icon: UIImage?) -> Builder
-
This function builds StorylyStoryStyling with the current properties
Declaration
Swift
@objc public func build() -> StorylyStoryStyling
Return Value
StorylyStoryStyling instance