PureSwift / Bluetooth

Pure Swift Bluetooth library
http://pureswift.github.io/Bluetooth/
MIT License
174 stars 24 forks source link

Implement `CaseIterable` #113

Closed colemancda closed 5 years ago

colemancda commented 5 years ago

Implement the new CaseIterable protocol introduced in Swift 4.2

This will allow enum cases that currently rely on BitMaskOption.all to have the compiler synthesize the value (and prevent missing cases in the set).