Reputation: 640
What's the good way of using Masonry with storyboard? Currently I am adding views in interface builder, setting random constraints generated by XCode and then I remove them from runtime in IB as well as add them in code with Masonry.
Upvotes: 2
Views: 575
Reputation: 27620
Just add the views to your storyboard without adding any constraints. Connect the views via outlets to your code and than add the constraints with Masonry.
Upvotes: 1