title: Cannot subscript a value of [AnyObject]? with an index of type Int
body: <p>This is in a class extending <a href="https://www.parse.com/docs/ios/api/Classes/PFQueryTableViewController.html" rel="noreferrer">PFQueryTableViewController</a> and I am getting the following error. The rows will be <code>PFUser</code> only.<br>
  Why am I not able to cast it? Is there a way around this?</p>
  
  <p>The error is:</p>
  
  <pre><code>Cannot subscript a value of [AnyObject]? with an index of type Int
  </code></pre>
  
  <p>...for this line:</p>
  
  <pre><code>var user2 = self.objects[indexPath.row] as! PFUser
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/he2JC.png" alt="enter image description here"></p>