title: Loop through AnyObject Array
body: <p>My  data contains user data of various  values (which I can parse out)  then  balances for each user  in  a  number of  currencies. </p>
  
  <p>I can parse out the user data.  For example:</p>
  
  <pre><code>if let add2 = parsed["address"] as? String {
      println("Alert: \(add2)")
  }
  </code></pre>
  
  <p>I can get the lists of balances:</p>
  
  <pre><code>if let findbalances = parsed["balances"]{    
             println("find the balances: \(findbalances)")
  </code></pre>
  
  <p>and I can get the individual values:</p>
  
  <pre><code>var balance11:Double = findbalances[0]["available_amount"] as! Double/100
  
  var curr11:String = findbalances[0]["currency"] as! String
  </code></pre>
  
  <p>The array is <code>AnyObject</code>.  If I try: </p>
  
  <pre><code>for currency in findbalances {
  </code></pre>
  
  <p>I get  </p>
  
  <blockquote>
    <p>Type AnyObject  does not conform to Sequence</p>
  </blockquote>
  
  <p>So then I tried to downcast it to <code>String</code>:</p>
  
  <pre><code>if let findbalances = parsed["balances"] as? String {
  for currency in findbalances {
  </code></pre>
  
  <p>and my output is blank.</p>
  
  <p>Yet I know the values are there.  </p>
  
  <p>I am stumped; how do you loop through an <code>AnyObject</code> Array in Swift?</p>