This PR adds a very limited CBMPeripheralPreview class. This is an implementation of CBMPeripheral designed to work with Swift UI Previews.
This can be useful to populate list of scanned peripherals, showing a device on a screen, when the normal mock peripheral requires connection, service discovery, etc. The new class is open and can be extended with custom implementation.
This PR adds a very limited
CBMPeripheralPreview
class. This is an implementation ofCBMPeripheral
designed to work with Swift UI Previews.This can be useful to populate list of scanned peripherals, showing a device on a screen, when the normal mock peripheral requires connection, service discovery, etc. The new class is open and can be extended with custom implementation.