A NSWindowController subclass to display a window to initiate pairing to other bluetooth devices.
SDK
- macOS 10.2+
Framework
- IOBluetooth
UI
Declaration
class IOBluetoothPairingController : NSWindow Controller
Overview
Implementation of a window controller to handle pairing with a bluetooth device. This class will handle connecting to the Bluetooth Daemon for the purposes of searches, and displaying the results. When necessary this class will display a sheet asking the user for a PIN code. This window will not return anything to the caller if it is canceled or if pairing occurs.