title: Check isKindOfClass to Dictionary in Swift
body: <p>I have an array of dictionary objects. In for loop i want to check whether each object in the array isKindOfClass dictionary or not. </p>
  
  <pre><code>var xxxStatus = jsonResponse as Dictionary&lt;String, AnyObject&gt;
  var applications = xxxStatus["status"] as NSArray!
  
  for application in applications {
     if  application.isKindOfClass(Dictionary) {
          //Im getting this error in above if statmet "Type Dictionary&lt;Type, Value&gt; does not confirm to protocol 'AnyObject'"          
     }
  }
  </code></pre>
  
  <p>How to use isKindOfClass for dictionary? Whether the if check is not required or the way i'm doing is wrong?</p>
  
  <p>Thanks!</p>