title: Trouble displaying Cell Date in swift, No errors
body: <p>ok so basically setting a basic messaging app using parse, have my message controller here finished but the cell data just isn't displaying. Im not getting any errors so not much to go on. Can anyone with a fresh pair of eyes spot the error code is as follows :-</p>
  
  <pre><code>class MessagesTableViewController: UITableViewController {
  var messages = []
  
  override func viewWillAppear(animated: Bool) {
      messages = []
      self.navigationController?.title = "My Messages"
      var currentUser = PFUser.currentUser()?.username
      var query = PFQuery(className: "toUser")
      query.whereKey("toUser", equalTo: currentUser!)
      query.orderByDescending("createdAt")
      query.findObjectsInBackgroundWithBlock({ (results: [AnyObject]?, error: NSError?) -&gt; Void in
          if error == nil {
              self.messages = results!
              self.tableView.reloadData()
          }
      })
  }
  
  override func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
      return messages.count &gt; 0 ? 1 : 0
  }
  
  override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return messages.count
  }
  
  override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as! UITableViewCell
      let messageDate = messages[indexPath.row].valueForKey("createdAt") as! NSDate
      let dateFormatter = NSDateFormatter()
      dateFormatter.dateFormat = "dd-MMM-yyy hh:mm:ss"
      let strDate = dateFormatter.stringFromDate(messageDate)
      let message: String = messages[indexPath.row].valueForKey("message") as! String
      let fromUser: String = messages[indexPath.row].valueForKey("fromUser") as! String
      cell.textLabel?.text = message
      cell.detailTextLabel?.text = "From \(fromUser) : \(strDate) "
      return cell
  }
  
  }
  </code></pre>
  
  <p>any ideas?
  thanks</p>