Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple CBMPeripheral implementation for Swift UI Previews #88

Merged
merged 3 commits into from
Mar 3, 2023

Conversation

philips77
Copy link
Member

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.

@philips77 philips77 merged commit a0eac68 into main Mar 3, 2023
@philips77 philips77 deleted the feature/preview-peripheral branch March 3, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant