title: Getting this error PageViewController does not conform to protocol 'UIPageViewControllerDataSource'
body: <p>I am not able to fix this error or find out the cause of this error and error is shown in below screenshot.</p>
  
  <p>Simply trying to create a demo of pageViewController and i am not able to add dataSource class, and that self.dataSource = self.</p>
  
  <p>Thanks in advance.</p>
  
  <p><img src="https://i.stack.imgur.com/9Mwyh.png" alt="enter image description here"></p>