3 ms·
The Swift version seems to be outdated. To get the length of a String, you need to do string.characters.count, instead of Swift 4's string.count. I think it's o
by jamamp 8y ago
The Swift version seems to be outdated. To get the length of a String, you need to do string.characters.count, instead of Swift 4's string.count. I think it's on Swift 2.
- saagarjha 8y agoIt's Swift 3.1.