MUProportionalItem

public struct MUProportionalItem

Struct that define a specificly an item.

  • The item’s value.

    Declaration

    Swift

    public let value: CGFloat
  • The current title.

    Declaration

    Swift

    public let title: String
  • The title’s text color.

    Declaration

    Swift

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

    Declaration

    Swift

    public init(value: CGFloat, title: String, color: UIColor? = nil)