SettingsTimerTableCell

class SettingsTimerTableCell : UITableViewCell

This is a controller that genericizes the labels

  • The label that displays the clock time

    Declaration

    Swift

    @IBOutlet
    weak var clockDisplay: UILabel!
  • The label that displays the name of the timer

    Declaration

    Swift

    @IBOutlet
    weak var timerNameLabel: UILabel!
  • The little traffic lights image that may be displayed

    Declaration

    Swift

    @IBOutlet
    weak var trafficLights: UIImageView!
  • This is a delete button that is only displayed in Catalyst mode.

    Declaration

    Swift

    @IBOutlet
    weak var deleteButton: UIButton!
  • This is the 0-based timer index (-1 default, meaning not set).

    Declaration

    Swift

    var timerIndex: Int
  • The table view that “owns” this row.

    Declaration

    Swift

    weak var tableView: UITableView!
  • This is called when the user hits the delete button.

    Declaration

    Swift

    @IBAction
    func deleteButtonHit(_: Any)