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.
Datasource protocol having methods which help us for getting data and deciding the height of the cell.
Delegate protocol having methods which will concentrate on functionality of tableview.
Please let me clear this. Thanks in advance.