Builder

@objc(StorylyMomentsIconStylingBuilder)
public class Builder : NSObject

Undocumented

  • Sets custom image to like icon. Max size of corresponding view is 20x20px. Scale type of the view is ContentMode.scaleAspectFit.

    Declaration

    Swift

    @objc(setStoryLikeIcon::)
    public func setStoryLikeIcon(likeIcon: UIImage?, unlikeIcon: UIImage?) -> Builder
  • Sets custom image to like animation icon. Scale type of the view is ContentMode.scaleAspectFit.

    Declaration

    Swift

    @objc(setStoryLikeAnimationIcon:)
    public func setStoryLikeAnimationIcon(icon: UIImage?) -> Builder
  • Sets custom image to view count icon. Max size of corresponding view is 20x20px. Scale type of the view is ContentMode.scaleAspectFit.

    Declaration

    Swift

    @objc(setStoryViewCountIcon:)
    public func setStoryViewCountIcon(icon: UIImage?) -> Builder
  • Sets custom image to story options icon. Max size of corresponding view is 32x32px. Scale type of the view is ContentMode.scaleAspectFit.

    Declaration

    Swift

    @objc(setStoryOptionsIcon:)
    public func setStoryOptionsIcon(icon: UIImage?) -> Builder
  • Undocumented

    Declaration

    Swift

    @objc
    public func build() -> StorylyMomentsIconStyling