MakeSchool-Tutorials / Makestagram-Swift-V3

14 stars 7 forks source link

17. Creating a Custom Post Table View Cell #23

Closed chuckySF closed 7 years ago

chuckySF commented 7 years ago

In the section titled, "Creating the PostImageCell", it instructs the student to set the PostImageCell height to 375. However, when I run the app, the height still hasn't been modified. It looks like at least on my project, I had to also set the row height for the table view. By clicking on the table view, then size instructor, then setting the row height there as well. Might want to take note of that if students run into this issue.

ocwang commented 7 years ago

In the section, Implementing the Table View Delegate, you should have configure the UITableViewDelegate method tableView(_:heightForRowAt:) to set the cell height for each PostImageCell.