I'm having some difficulties with simple things.
How do I count how many letras
has a variable?
let word = wordEasy[0]
for var i = 0; i < word.count ?????
I'm having some difficulties with simple things.
How do I count how many letras
has a variable?
let word = wordEasy[0]
for var i = 0; i < word.count ?????
If it is Swift 1 :
word.utf16count
If it is Swift 2 :
word.characters.count