Mélanie Bessagnet
Mélanie Bessagnet

Playing with UIStackView

Introduced with iOS 9, UIStackView is very convenient when it comes to display multiple views without managing any of their constraints. How it works? var stackViewContainer: UIStackView = UIStackView(frame: CGRect(x: 0.0, y: 0.0, width: stackViewWidth, height: stackViewHeight)) stackViewContainer.axis = .Vertical stackViewContainer.spacing = … Continue reading (4 minutes)