Builder

@objc(StorylyBarStylingBuilder)
public class Builder : NSObject

Builder class of StorylyBarStyling

  • This function allows you to change the orientation of story groups list

    Declaration

    Swift

    @objc(setOrientation:)
    public func setOrientation(orientation: StoryGroupListOrientation) -> Builder
  • This function allows you to change the orientation of story groups list

    Declaration

    Swift

    @objc(setSection:)
    public func setSection(count: Int) -> Builder
  • This function allows you to change the horizontal edge padding value of the first and last story groups

    Declaration

    Swift

    @objc(setHorizontalEdgePadding:)
    public func setHorizontalEdgePadding(padding: CGFloat) -> Builder
  • This function allows you to change the vertical edge padding value of the first and last story groups

    Declaration

    Swift

    @objc(setVerticalEdgePadding:)
    public func setVerticalEdgePadding(padding: CGFloat) -> Builder
  • This function allows you to change the horizontal padding value between story groups

    Declaration

    Swift

    @objc(setHorizontalPaddingBetweenItems:)
    public func setHorizontalPaddingBetweenItems(padding: CGFloat) -> Builder
  • This function allows you to change the vertical padding value between story groups

    Declaration

    Swift

    @objc(setVerticalPaddingBetweenItems:)
    public func setVerticalPaddingBetweenItems(padding: CGFloat) -> Builder
  • This function builds StorylyBarStyling with the current properties

    Declaration

    Swift

    @objc
    public func build() -> StorylyBarStyling

    Return Value

    StorylyBarStyling instance