I just want to get the ASCII value of a single char string in Swift. This is how I\'m currently doing it:
var singleChar = \"a\" println(singleChar.unicodeSc
UnicodeScalar("1")!.value // returns 49
Swift 3.1