title: fatal error: unexpectedly found nil while unwrapping an Optional value (Swift & Parse)
body: <p>When I go to just post text alone this error occurs. But when I post an <code>UIImage</code> with text it works fine.</p>
  
  <pre><code>func postFeed(text: String, image: UIImage?) {
  
      PFGeoPoint.geoPointForCurrentLocationInBackground { (geopoint, error) in
  
          if let geopoint = geopoint {
  
              let object = PFObject(className: "UserFeed")
  
              object.setValue(text, forKey: "post")
  
              let imageData = UIImageJPEGRepresentation(image, 0.75)
  
              let imageFile = PFFile(name: "image.png", data: imageData) //ERROR HERE &lt;&lt;
  
              object.setValue(imageFile, forKey: "imageFile")
  
              object.setValue(geopoint, forKey: "location")
  
              if let user = PFUser.currentUser() {
  
                  object.setValue(user, forKey: "fromUser")
  
              }
  
              object.saveInBackgroundWithBlock({ (success, error) -&gt; Void in
  
                  dispatch_async(dispatch_get_main_queue()) {
  
                      //println("Success object saved to parse")
  
                      NSNotificationCenter.defaultCenter().postNotificationName(postNotification, object: success)
  
                  }
  
              })
  
          }
  
      }
  
  }
  </code></pre>
  
  <p>Here is where I assign the picture uploaded to parse to the <code>UIImageView</code>. Somehow I need to only get the image posted by that User ID and assign it to the <code>UIImageView</code>.</p>
  
  <pre><code>override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
      let cell = tableView.dequeueReusableCellWithIdentifier(reuseIdentifier, forIndexPath: indexPath) as! TalesTableViewCell
  
      // Configure the cell...
  
      if let posts = posts {
  
          let object = posts[indexPath.row]
  
          cell.tableLabel?.font = UIFont(name: "Avenir", size: 16)
  
          cell.tableLabel?.text = object["post"] as? String
  
          cell.tableLabel?.numberOfLines = 0
  
          object["imageFile"]?.getDataInBackgroundWithBlock({ (imageData: NSData?, error: NSError?) -&gt; Void in
              if error == nil {
  
                  let image = UIImage(data: imageData!)
  
                  cell.tableImage.image = image
  
              }
          })
  
      }
  
      return cell
  }
  </code></pre>
  
  <p>I'm lost, I've tried so many thing yet failed each time, any ideas?</p>
  
  <p>Thanks!</p>