Created
February 9, 2015 14:25
-
-
Save nolili/302a1d512f09781ae3be to your computer and use it in GitHub Desktop.
CBCentralManagerStateDescription
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension CBCentralManagerState:Printable{ | |
public var description: String { get { | |
switch self { | |
case .Unknown: | |
return "Unknown" | |
case .Resetting: | |
return "Resetting" | |
case .Unsupported: | |
return "Unsupported" | |
case .Unauthorized: | |
return "Unauthorized" | |
case .PoweredOff: | |
return "PoweredOff" | |
case .PoweredOn: | |
return "PoweredOn" | |
}} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment