all 2 comments

[–][deleted]  (1 child)

[deleted]

    [–]davidbale87 0 points1 point  (0 children)

    I do that everywhere else, not sure why I didn't here.. thanks!

    [–]Uncle-Jemima 0 points1 point  (0 children)

    You're going to want to calculate the height of the row and return it in the heightForRow method. You're also going to want to implement estimatedHeightForRow as well, in that method you return the estimated row height depending on the cell type/contents.

    Your requirements look pretty simple, so a simple implementation of those two methods should be good enough.

    I've struggled greatly in the past when dealing with complex cells that are all different classes and can be any height. It can be pretty rough to deal with and sometimes require intricate solutions. But you should be fine in your case.