Created
January 24, 2021 19:41
-
-
Save Kdan/b779ab9e1c61a39b2092e51a6cc2cd27 to your computer and use it in GitHub Desktop.
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
class BluetoothManager: NSObject { | |
private let centralManager: CentralManager | |
private let uuids: [CBUUID] = [.init(string: "EXAMPLE-UUID-1"), | |
.init(string: "EXAMPLE-UUID-2")] | |
init(centralManager: CentralManager) { | |
self.centralManager = centralManager | |
super.init() | |
centralManager.delegate = self | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment