Feature Request: Return String representation of Device.current (may be its raw value)
cocodyrockstar opened this issue · comments
cocodyrockstar commented
here is a suggestion: insert a string representation of the enum Device.
public enum Device: String {
...
case iPodTouch5 = "iPod Touch 5th gen"
...
}
then we could use it like this:
let deviceString = Decive.current.rawValue
// "iPod Touch 5th gen"
Oscar Gorog commented
This already exists, please use:
Device.current.description
Thanks!