RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController_DeleteConfirmController
class RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController_DeleteConfirmController : WKInterfaceController
This handles the “Delete” confirmation screen.
-
This is the presenting view controller.
We use this to send the delete call up the chain.
Declaration
Swift
var owner: RVS_BTDriver_WatchOS_Test_Harness_Device_InterfaceController!
-
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!
-
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()
-
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).