UITableView, making first cell custom cell and others normal cells
So, I was wondering what is the best way to make it so that the first cell开发者_高级运维 is custom cell and the others are normal cells. In the past I have only made tableViews with all cells the same. Thanks!
In -tableView:cellForRowAtIndexPath:
of your data source, you can return any kind of cell you like. So you should just check the index path and return a different cell for the first cell.
精彩评论