RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController_DeleteConfirmController

class RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController_DeleteConfirmController : WKInterfaceController

This handles the “Delete” confirmation screen.

Instance Properties

IBOutlet Properties

  • The lable for the “DELETE?” question.

    Declaration

    Swift

    @IBOutlet
    weak var deletePromptLabel: WKInterfaceLabel!
  • The “YES” button.

    Declaration

    Swift

    @IBOutlet
    weak var yesButton: WKInterfaceButton!
  • The “NO” button.

    Declaration

    Swift

    @IBOutlet
    weak var noButton: WKInterfaceButton!

IBAction Methods

  • Called when the “YES” button is hit.

    This deletes the device, and closes the screen.

    Declaration

    Swift

    @IBAction
    func yesButtonHit()
  • Called when the “NO” button is hit.

    This cancels the screen with no changes.

    Declaration

    Swift

    @IBAction
    func noButtonHit()

Overridden Base Class Methods

  • Called when the instance is being initialized for use.

    Declaration

    Swift

    override func awake(withContext inContext: Any?)

    Parameters

    inContext

    The context (We ignore, but pass it to the base class).