title: How to access dictionary value by key inside array of dictionary on Swift 3?
body: <p>I've been away for a while from swift development. And today I got bug report from my client on my old project. The thing is I used to access value from my dictionary with ease just like <strong>dictionary[key]</strong> then I already got the value, but today I got below error by doing that:</p>
  
  <blockquote>
    <p>Type 'NSFastEnumerationIterator.Element' (aka 'Any') has no subscript members</p>
  </blockquote>
  
  <p>and here is my code:</p>
  
  <pre><code>var rollStatusArray = NSMutableArray()
  
  for statusDict in rollStatusArray{
    if statusId == "\(statusDict["mark_status_id"]!!)"{
      return "\(statusDict["mark_status_name"]!!)"
    }
  }
  </code></pre>
  
  <p>How can I access dictionary value on swift 3?</p>