title: UICollectionViewCell' has no member 'present'
body: <p>I want to present a view controller when I select a row in a tableView which is inside a UICollectionViewCell.I didn't use storyboards in my project. I tried to call 'present(viewController, animated: true, completion: nil)' inside 'didSelectRowAt indexPath:...' but I get an error 'SecondPageCollectionViewCell' has no member 'present', I also tried to perform a segue , but I still get the same error. How could I present another View Controller when I tap on a row?</p>
  
  <pre><code>class SecondPageCollectionViewCell: UICollectionViewCell,UITableViewDelegate, UITableViewDataSource   {
  
  let viewController = ViewController()
  let tableView = UITableView()
  ...
  
   override func awakeFromNib() {
   ...
   }
  
   func numberOfSections(in tableView: UITableView) -&gt; Int {
      return 1
  }
  
  func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
          print("selected row \(indexPath.row)")
  }
  
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
  
      return allUsers.descriptions.count
  }
  
  func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -&gt; CGFloat {
      return frame.height - secondViewheight
  
  }
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
     ...
  }
  
  }
  </code></pre>