title: Iterate through a String Swift 2.0
body: <p>I am trying to do a very simple piece of code in Swift playgrounds.</p>
  
  <pre><code>var word = "Zebra"
  
  for i in word {
    print(i)
  }
  </code></pre>
  
  <p>However, I always get an error on line 3. </p>
  
  <blockquote>
    <p>'String' does not have a member named 'Generator'</p>
  </blockquote>
  
  <p>Any ideas on why this doesn't work? Note: I am working in Xcode 7, with Swift 2.0 (<a href="https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/StringsAndCharacters.html">Strings and Characters).</a></p>