title: FSPagerview - Is it possible to use this inside a repeating cell?
body: <p>( I followed the tutorial here : <a href="https://github.com/WenchaoD/FSPagerView#implement_fspagerviewdatasource" rel="nofollow noreferrer">https://github.com/WenchaoD/FSPagerView#implement_fspagerviewdatasource</a> )</p>
  
  <p>and it works when the pagerview is not inside a tableview or if the tableview is static but fails if the pagerview is in a dynamic table.</p>
  
  <p>This is the code</p>
  
  <pre><code>    @IBOutlet weak var pagerView: FSPagerView! {
          didSet {
              self.pagerView.register(FSPagerViewCell.self, forCellWithReuseIdentifier: "cell")
          }
      }
  
      public func numberOfItems(in pagerView: FSPagerView) -&gt; Int {
          return 1
      }
  
      public func pagerView(_ pagerView: FSPagerView, cellForItemAt index: Int) -&gt; FSPagerViewCell {
          let cell = pagerView.dequeueReusableCell(withReuseIdentifier: "cell", at: index)
          cell.imageView?.image = #imageLiteral(resourceName: "four")
          cell.textLabel?.text = "..."
          return cell
      }
  
  </code></pre>
  
  <p>and whenever i run this, it crashes with</p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
  reason: '-[test.HomeTableViewController numberOfItemsInPagerView:]: unrecognized
  selector sent to instance 0x7fb644e1dfc0'
  ***
  </code></pre>
  
  <p>Can somebody help me or point me in the right direction on how to use this inside a dynamic tableview? (or maybe some other way to have a sliding banner inside a dynamic cell of a tableview?)</p>