Check out How to UIStackView in UITableViewCell by JR. Here is an excerpt:
Create Single ViewController project. Add a UITableView.
Pin it to the walls.
Turn off the default separator.
Drag out a UITableViewCell
Add a UIImageView
Set it’s height and width and position.
Now add x2 labels to the side.
Now for the stackView. Select the two labels and then embed…
The full article is available here.