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

Migration to Xcode 13 beta 4 #52

Merged
merged 3 commits into from
Jul 31, 2021
Merged

Migration to Xcode 13 beta 4 #52

merged 3 commits into from
Jul 31, 2021

Conversation

philips77
Copy link
Member

This PR continues improving API required for Xcode 13 and Swift 5.5, where CBService.peripheral, CBCharacteristic.service and CBDescriptor.characteristic properties were changed from unowned to weak, effectively making them optional. The previous work has been done in #44, #50 and #51.

As the goal of this library is to mimic the native API as much as possible, we decided to have the same behavior as in native API, that is for Swift 5.5 and newer, the properties will be weak, while for older versions continue to be unowned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant