Automatically calculating cell sizes for each comment can be somewhat tricky. You'll find many different approaches to solve this common issue in iOS and today I'll present one of the easier methods. We'll first layout the necessary profile image view inside our cell and fetch the user information for our Comment. Finally we'll look at how to use a dummy cell to estimate the necessary height for our cells.