RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController

class RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController : WKInterfaceController

This displays the information for one device.

Instance Constants

  • The ID of the delete segue

    Declaration

    Swift

    let deleteSegueID: String

Instance Properties

IBOutlet Properties

  • The table, displaying the values.

    Declaration

    Swift

    @IBOutlet
    weak var displayTable: WKInterfaceTable!
  • The Delete Button, shown at the bottom of the screen.

    Declaration

    Swift

    @IBOutlet
    weak var deletButton: WKInterfaceButton!

Instance Methods

  • Called by the delete screen, to delete this device.

    Declaration

    Swift

    func deleteMyself()
  • Called to set up the table of values.

    Declaration

    Swift

    func populateTable()

Overridden Base Class Methods

  • Called when the sheet is loaded.

    Declaration

    Swift

    override func awake(withContext inContext: Any?)

    Parameters

    withContext

    The context that may have been set by the presenting view controller.

  • Called just before the screen is shown.

    Declaration

    Swift

    override func willActivate()
  • Called just after the screen disappears.

    Declaration

    Swift

    override func didDeactivate()
  • This is called just as a segue to the delete screen is called.

    Declaration

    Swift

    override func contextForSegue(withIdentifier inSegueIdentifier: String) -> Any?

    Parameters

    withIdentifier

    The segue ID. It should always be for the delete screen.