CGA_ServiceViewController_TableRow
@MainActor
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
@MainActor static let rowheights: [CGFloat] -
This is the font that is used in the value display label.
Declaration
Swift
@MainActor static let valueFont: UIFont -
This is a simple summation of the first two row heights. The third one needs to be calculated.
Declaration
Swift
@MainActor static var defaultHeights: CGFloat { get } -
The label at the top, containing the Characteristic ID
Declaration
Swift
@IBOutlet @MainActor weak var characteristicIDLabel: UILabel! -
The horizontal stack view in the middle, showing our various flags (and maybe the NOTIFY button).
Declaration
Swift
@IBOutlet @MainActor weak var propertiesStackView: UIStackView! -
The label at the bottom, containing the Characteristic value, if it can be expressed as a String.
Declaration
Swift
@IBOutlet @MainActor weak var valueLabel: UILabel!
View on GitHub