title: Iterate over snapshot children in Firebase
body: <p>I have a Firebase resource that contains several objects and I would like to iterate over them using Swift.
  What I expected to work is the following (according to the Firebase documentation)<br>
  <a href="https://www.firebase.com/docs/ios-api/Classes/FDataSnapshot.html#//api/name/children" rel="noreferrer">https://www.firebase.com/docs/ios-api/Classes/FDataSnapshot.html#//api/name/children</a></p>
  
  <pre><code>var ref = Firebase(url:MY_FIREBASE_URL)
  ref.observeSingleEventOfType(.Value, withBlock: { snapshot in
    println(snapshot.childrenCount) // I got the expected number of items
      for rest in snapshot.children { //ERROR: "NSEnumerator" does not have a member named "Generator"
         println(rest.value)     
       }
   })
  </code></pre>
  
  <p>So it seems there is a problem with Swift iterating over the NSEnumerator object returned by Firebase.</p>
  
  <p>Help is really welcome. </p>