How to UIStackView in UITableViewCell

Check out How to UIStackView in UITableViewCell by JR. Here is an excerpt:

Create Single ViewController project. Add a UITableView.

Screen Shot 2017-06-04 at 8.31.52 AM.png

Pin it to the walls.

Screen Shot 2017-06-04 at 8.32.38 AM.png

Turn off the default separator.

Screen Shot 2017-06-04 at 8.33.14 AM.png

Drag out a UITableViewCell

Screen Shot 2017-06-04 at 8.34.10 AM.png

Add a UIImageView

Screen Shot 2017-06-04 at 8.35.22 AM.png

Set it’s height and width and position.

Screen Shot 2017-06-04 at 8.36.07 AM.png

Screen Shot 2017-06-04 at 8.36.20 AM.png

Now add x2 labels to the side.

Screen Shot 2017-06-04 at 8.37.08 AM.png

Now for the stackView. Select the two labels and then embed…

The full article is available here.