MUSegmentItem

public struct MUSegmentItem

Struct that define a specificly a segment.

  • The current title.

    Declaration

    Swift

    public let title: String
  • The title’s font.

    Declaration

    Swift

    public let titleFont: UIFont?
  • The title’s text color.

    Declaration

    Swift

    public let titleColor: UIColor?
  • The title’s selected title color.

    Declaration

    Swift

    public let selectedTitleColor: UIColor?
  • The title’s selected background color.

    Declaration

    Swift

    public let selectedColor: UIColor?
  • Init with some default values

    Declaration

    Swift

    public init(title: String,
                titleFont: UIFont? = nil,
                titleColor: UIColor? = nil,
                selectedTitleColor: UIColor? = nil,
                selectedColor: UIColor? = nil)