Builder
@objc(StorylyVerticalFeedGroupStylingBuilder)
public class Builder : NSObject
Builder class of StorylyStoryGroupStyling
-
This function allows you to change the background color of the vertical feed group icon which is shown to the user as skeleton view till the stories are loaded
Declaration
Swift
@objc(setIconBackgroundColor:) public func setIconBackgroundColor(color: UIColor) -> Builder
-
This function allows you to change height of the vertical feed group icon
Declaration
Swift
@objc(setIconHeight:) public func setIconHeight(height: CGFloat) -> Builder
-
This function allows you to change corner radius value of the vertical feed group icon
Declaration
Swift
@objc(setIconCornerRadius:) public func setIconCornerRadius(radius: CGFloat) -> Builder
-
This function allows you to use different vertical feed groups images for different labels
Declaration
Swift
@objc(setIconThematicImageLabel:) public func setIconThematicImageLabel(label: String?) -> Builder
-
This function allows you to change the font of the vertical feed group text
Declaration
Swift
@objc(setTitleFont:) public func setFont(font: UIFont?) -> Builder
-
This function allows you to change the visibility of the vertical feed group text
Declaration
Swift
@objc(setTitleVisibility:) public func setTitleVisibility(isVisible: Bool) -> Builder
-
This function allows you to change the order of the vertical feed group
- - parameter groupOrder StorylyVerticalFeedGroupOrder instance to set
Declaration
Swift
@objc(setGroupOrder:) public func setGroupOrder(order: StorylyVerticalFeedGroupOrder) -> Builder
-
This function allows you to change the impression icon @param image UIImage instance to set
Declaration
Swift
@objc(setImpressionIcon:) public func setImpressionIcon(_ image: UIImage) -> Builder
-
This function allows you to change the like icon @param image UIImage instance to set
Declaration
Swift
@objc(setLikeIcon:) public func setLikeIcon(_ image: UIImage) -> Builder
-
This function allows you to change the text color of the group view @param color UIColor instance to set
Declaration
Swift
@objc(setTextColor:) public func setTextColor(_ color: UIColor) -> Builder
-
This function allows you to set minimum impression count to show impression icon @param count Int instance to set
Declaration
Swift
@objc(setMinImpressionCountToShowIcon:) public func setMinImpressionCountToShowIcon(_ count: Int) -> Builder
-
This function allows you to set minimum like count to show like icon @param count Int instance to set
Declaration
Swift
@objc(setMinLikeCountToShowIcon:) public func setMinLikeCountToShowIcon(_ count: Int) -> Builder
-
This function allows you to set vertical feed type indicator visibility @param isVisible Bool instance to set
Declaration
Swift
@objc(setTypeIndicatorVisibility:) public func setTypeIndicatorVisibility(_ isVisible: Bool) -> Builder
-
This function builds StorylyVerticalFeedGroupStyling with the current properties
Declaration
Swift
@objc public func build() -> StorylyVerticalFeedGroupStyling
Return Value
StorylyVerticalFeedGroupStyling instance