CGA_ServiceViewController_TableRow

class CGA_ServiceViewController_TableRow : UITableViewCell

Our table cells have three rows.

  • This is the height of each row, as an Array of CGFloat.

    Declaration

    Swift

    static let rowheights: [CGFloat]
  • This is the font that is used in the value display label.

    Declaration

    Swift

    static let valueFont: UIFont
  • This is a simple summation of the first two row heights. The third one needs to be calculated.

    Declaration

    Swift

    static var defaultHeights: CGFloat { get }
  • The label at the top, containing the Characteristic ID

    Declaration

    Swift

    @IBOutlet
    weak var characteristicIDLabel: UILabel!
  • The horizontal stack view in the middle, showing our various flags (and maybe the NOTIFY button).

    Declaration

    Swift

    @IBOutlet
    weak var propertiesStackView: UIStackView!
  • The label at the bottom, containing the Characteristic value, if it can be expressed as a String.

    Declaration

    Swift

    @IBOutlet
    weak var valueLabel: UILabel!