title: Why we need Datasource and Delegate Methods for UITABLEVIEW in ios
body: <p>Hi I have a small doubt on UITABLEVIEW methods. For Tableview we have DATASORCE AND DELEGATE methods. Datasource and delegate both are protocols only right. Why we need two protocols ?instead of two protocols can we use one protocol where both delegate and datasorce methods are declared. </p>
  
  <p>Datasource protocol having methods which help us for getting data and deciding the height of the cell.</p>
  
  <p>Delegate protocol having methods which will concentrate on functionality of tableview.</p>
  
  <p>Please let me clear this. Thanks in advance.</p>