title: How can I use UICollectionViewCells in the UITableViewcells
body: <p>where one of my TableViewCell must have the CollectionView and other are custom TableViewcells which have different number of Labels and ImageViews.Here is the code from my ViewController:</p>
  
  <pre><code>func tableView(_tableView:UITableView,numberOfRowsInSection section: Int)-&gt;Int{
      return seachable.count
  }
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      if seachable[indexPath.row].first.name != nil{
          let cell  = tableView.dequeueReusableCell(withIdentifier: "Cell1", for: indexPath) as! FristTableViewCell
          cell.firstOne.text = seachable[indexPath.row].first.name
          return cell
      }
      .........and so on
      else {
          let cell=tableView.dequeueReusableCell(withIdentifier:"Cell4",for: indexPath) as! FourTableViewCell
          cell.collectioinView1.reloadData()
          return cell
      }
  </code></pre>
  
  <p>below is the code from TableViewCell with CollectionView:</p>
  
  <pre><code>extension FourTableViewCell : UICollectionViewDataSource,UICollectionViewDelegate
  {
      func numberOfSections(in collectionView: UICollectionView) -&gt; Int {
          return 1
      }
      func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -&gt; Int {
          return 10
  
      }
      func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -&gt; UICollectionViewCell {
  
          let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "CollectionCell", for: indexPath) as! OneCollectionViewCell
          cell.collectionCellLabel.text = "a"
          return cell
      }
  }
  </code></pre>
  
  <p>The error I have is :The behavior of the UICollectionViewFlowLayout is not defined because:</p>