title: Ambiguous use of subscript xcode 7.1
body: <p>I have this code:</p>
  
  <pre><code>var jsonResult = (try! NSJSONSerialization.JSONObjectWithData(data!, options: NSJSONReadingOptions.MutableContainers)) as! NSDictionary
  var count = jsonResult["levels"]!.count as Int
  for var i=0; i&lt;count; ++i {
     let obj = jsonResult["levels"]![i] as! NSDictionary
     ...
  }
  </code></pre>
  
  <p>On the last line I am receiving this error:</p>
  
  <blockquote>
    <p>Ambiguous use of subscript</p>
  </blockquote>
  
  <p>How can I resolve this?</p>
  
  <p>This code has worked for some time but with the upgrade to xcode 7.1 it broke and stopped working.</p>