Closed colemancda closed 6 years ago
Implement init(rawValue: String) for Address. I believe a regex would suffice.
init(rawValue: String)
Address
Here is one I developed. ([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2})
([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2})
Implemented in https://github.com/PureSwift/Bluetooth/commit/a15c5215f3bd1a314355912e5c5755e8d8cffee3
Implement
init(rawValue: String)
forAddress
. I believe a regex would suffice.Here is one I developed.
([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2}):([0-9A-F]{2})