init(centralManager:delegate:dataSource:)
Creates a new, empty view that can be populated with items when peripherals are connected to the central manager.
Declaration
init(centralManager: PlaygroundBluetoothCentralManager, delegate: PlaygroundBluetoothConnectionViewDelegate? = nil, dataSource: PlaygroundBluetoothConnectionViewDataSource? = nil)Parameters
- centralManager:
The central manager whose peripherals will be displayed in the view.
- delegate:
A delegate you supply to make decisions about which peripherals are displayed in the view.
- dataSource:
A data source that provides subviews for available peripherals.