You can definitely use StackViews to achieve this.
How you arrange StackViews depends on how you want to control the alignment.
Here is what I recommend:
- Put your tags on one vertically aligned stack and
- Place text fields in another vertical stack alignment
- Place the two stack views in the horizontal stack alignment.
Most likely, you want your distribution populate equally across the two smaller stack views, and then set the spacing parameter to the same for each smaller stack. Finally, you can set the spacing in the horizontal stack view to set the space between your text and your text fields. (This final part is the reason I would set them like this.)
source share