It uses autolayout. The details of constraint management are abstracted by layout views such as LMRowView and LMColumnView. You can also use the new UIStackView class Apple added in iOS 9. See this article for more information:
https://gkbrown.wordpress.com/2015/09/29/using-uistackview-w...