StoryGroupTextStyling

@objc(StoryGroupTextStyling)
public final class StoryGroupTextStyling : NSObject

This data class represents styling of story group texts

  • Visibility of the story group text

    Declaration

    Swift

    @objc
    public var isVisible: Bool
  • Color of the seen story group text

    Declaration

    Swift

    @objc
    public var colorSeen: UIColor
  • Color of the not seen story group text

    Declaration

    Swift

    @objc
    public var colorNotSeen: UIColor
  • Font of the story group text

    Declaration

    Swift

    @objc
    public var font: UIFont?
  • Number of lines of the story group text

    Declaration

    Swift

    @objc
    public var lines: Int
  • StoryGroupTextStyling initialization

    Declaration

    Swift

    @objc
    public init(isVisible: Bool = true,
                colorSeen: UIColor = UIColor.black,
                colorNotSeen: UIColor = UIColor.black,
                font: UIFont? = nil,
                lines: Int = 2)

    Parameters

    isVisible

    Visibility of the story group text

    color

    Color of the story group text

    font

    Font of the story group text

    lines

    Number of lines of the story group text