-
-
Save iosdevie/42b56482a918216e387c8a359950b71e to your computer and use it in GitHub Desktop.
Initialize the Bluetooth Manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var centralManager: CBCentralManager? | |
var peripheral: CBPeripheral? | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
centralManager = CBCentralManager(delegate: self, queue: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment