In Interface Builder, I use a horizontal UIStackView and want to place the items as this :
xx xx xx
every x symbolize an item. Item1 and
Swift 4 : If you want for example set a space after the first subview :
stackView.setCustomSpacing(30.0, after: stackView.subviews[0])