title: How to enumerate an enum with String type?
body: <pre><code>enum Suit: String {
      case spades = "♠"
      case hearts = "♥"
      case diamonds = "♦"
      case clubs = "♣"
  }
  </code></pre>
  
  <p>For example, how can I do something like:</p>
  
  <pre><code>for suit in Suit {
      // do something with suit
      print(suit.rawValue)
  }
  </code></pre>
  
  <p>Resulting example:</p>
  
  <pre><code>♠
  ♥
  ♦
  ♣
  </code></pre>