According to Swift - Converting String to Int, there\'s a String method toInt().
String
toInt()
But, there\'s no toUInt() method. So, how to conv
toUInt()
just use UInt's init:
let someString = "4" UInt(someString.toInt()!) // 4