Is Trying to index into String really hard? Permalink
Published in Medium, 2021
Since Swift 2,String
does no longer conform to SequenceType
.In other words, you can not iterate through a string with a for...in
loop. In this article I tried to set an easy way, and put down my workaround to solve this problem.