I am trying to do a very simple piece of code in Swift playgrounds.
var word = \"Zebra\" for i in word { print(i) }
However, I always ge
String doesn't conform to SequenceType anymore. However you can access the characters property of it this way:
String
SequenceType
characters
var word = "Zebra" for i in word.characters { print(i) }
Note that the documentation hasn't been updated yet.