title: Cannot assign a value of type 'UIImage?' to type 'String!'
body: <p>I am trying to call images but getting error "Cannot assign value of type 'UIImage?' to type 'String!'" in the line "vc.sentData2 = image".</p>
  
  <pre><code>override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
      if (segue.identifier == "DetailView"){
          let vc = segue.destinationViewController as! DetailViewController
  
          if let indexPath = self.tableView.indexPathForSelectedRow{
              let Title = names[indexPath.row] as String
              vc.sentData1 = Title
  
              let url = NSURL(string: images[indexPath.row])
              let data = NSData(contentsOfURL: url!)
              let image = UIImage(data: data!)
              vc.sentData2 = image
          }
      }
  }
  </code></pre>
  
  <p>I would be thankful for help.</p>