HDTableDataSource is a nice replacement of TableView's Datasource methods. You can Easily integrate it in your view controller.