CGA_DiscoveryDetailsViewController
class CGA_DiscoveryDetailsViewController : CGA_BaseViewController
extension CGA_DiscoveryDetailsViewController: CGA_UpdatableScreenViewController
-
The segue ID of the “Show Discovery Details” screen.
Declaration
Swift
static let connectSegueID: String -
Declaration
Swift
var discoveryData: RVS_BlueThoth.DiscoveryData! -
Declaration
Swift
@IBOutlet weak var detailsDisplayTextView: UITextView! -
Declaration
Swift
@IBOutlet weak var connectButton: UIButton! -
This label displays the device name.
Declaration
Swift
@IBOutlet weak var nameLabel: UILabel!
-
Called when the CONNECT button is selected and hit.
Declaration
Swift
@IBAction func connectButtonHit(_: Any)
-
This sets up the accessibility and voiceover strings for the screen.
Declaration
Swift
func setUpAccessibility()
-
Called just after the view hierarchy has loaded.
Declaration
Swift
override func viewDidLoad() -
Called just before the view will appear. We use this to ensure that we are disconnected.
Declaration
Swift
override func viewWillAppear(_ inAnimated: Bool)Parameters
inAnimatedignored, but passed to the superclas.
-
Called just before the connection screen is pushed.
Declaration
Swift
override func prepare(for inSegue: UIStoryboardSegue, sender inSender: Any?)Parameters
forThe segue that is being executed.
senderThe discovery information.
-
This simply makes sure that the table is displayed if BT is available, or the “No BT” image is shown, if it is not.
Declaration
Swift
func updateUI()
View on GitHub
CGA_DiscoveryDetailsViewController Class Reference