title: UItableview Could not cast value of type Swift._SwiftDeferredNSArray to NSMutableArray
body: <p>So I have Two Classes one define mines my cell: ListTableViewCell, and the other one defines my table:ListTableView. I am trying to pull data from a parse server to display as the two uilabels in the cell. I am running into an error at this line of code.</p>
  
  <pre><code> self.Data = array as! NSMutableArray
  </code></pre>
  
  <p>It is giving me the error "Could not cast value of type 'Swift._SwiftDeferredNSArray' (0x107bc36b8) to 'NSMutableArray' (0x105f7fcd0)."</p>
  
  <p>Any suggestions to fix this.</p>
  
  <pre><code>class ListTableViewCell: UITableViewCell {
  @IBOutlet weak var name: UILabel!
  @IBOutlet weak var team: UILabel!
  
  }
  </code></pre>
  
  <p>This is the tableview.</p>
  
  <pre><code>class ListTableViewController: UITableViewController{
  
  var Data: NSMutableArray = NSMutableArray()
  
  func loadData(){
  
      Data.removeAllObjects()
  
      let findData:PFQuery = PFQuery(className: "data")
      findData.getFirstObjectInBackground() {(objects: PFObject?, error: Error?) -&gt; Void in
          if !(error != nil){
              for object in [objects] as [PFObject?]{
                  self.Data.add(object)
              }
          }
          let array:NSArray = self.Data.reversed() as NSArray
          self.Data = array as! NSMutableArray
          self.tableView.reloadData()
      }
  
  }
  
  override func viewDidAppear(_ animated: Bool) {
      self.loadData()
  }
  
  override func didReceiveMemoryWarning() {
      super.didReceiveMemoryWarning()
  }
  
  override func numberOfSections(in tableView: UITableView) -&gt; Int {
      return 1
  }
  
  override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return Data.count
  }
  
  override func tableView(_ tableView: UITableView?, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell:ListTableViewCell = tableView!.dequeueReusableCell(withIdentifier: "listCell", for: indexPath) as! ListTableViewCell
  
      let listData:PFObject = self.Data.object(at: indexPath.row) as! PFObject
  
      cell.name.text = listData.object(forKey: "name") as? String
  
  
      return cell
  }
  
  
  }
  </code></pre>
  
  <p>EDIT***</p>
  
  <p>Changed:</p>
  
  <pre><code>   var Data = [PFObject]()
  
  
     Data.removeAllObjects() which I changed to Data.removeAll()
     self.Data.add(object) which I changed to aelf.Data.append(object)
  </code></pre>
  
  <p>Completely removed this      </p>
  
  <pre><code>   let array:NSArray = self.Data.reversed() as NSArray
     self.Data = array as! NSMutableArray
  </code></pre>
  
  <p>This last error I can't fix is this one</p>
  
  <pre><code>let listData:PFObject = self.Data.object(at: indexPath.row) as! PFObject
  </code></pre>
  
  <p>It is throwing an error saying [PFObject] has no member object. </p>