and sorry for my bad english. I want to create an app like Facebook that in one tableView there are two types of cells, one for status post and other for photo post. the issue is that photo post cell and status cell has a different size. How can i make tableView with two cells that has a different size?
That's how I want it to look:
That's how it look:
You can adjust the cellsize depending on object you want to have inside the cell.
This tutorial is what you are looking for: http://www.raywenderlich.com/87975/dynamic-table-view-cell-height-ios-8-swift