Earlier this year I mentioned a nice tutorial from Yari D’areglia on using the Xcode storyboards tool and auto-layout to create interfaces that adapt to different screen sizes and orientations.
Here’s a new tutorial submitted by Yari that shows how to use auto-layout programmatically without using storyboards.
In the tutorial you’ll run through a series of examples going from basic simple constraints through to more advanced concepts such as definining auto-layout constraints for one view based on an the attributes of another view.
You can find the tutorial over on the Think and Build site.
A nice straightforward guide to using auto-layout programmatically.
- Library Making iOS 6 Auto-Layout Extremely Easy To Use Programmatically
- Tutorial: Use Auto-layout In Xcode 5 For Interfaces That Adapt To Different Screens/Orientations
- Open Source: Library For Easily Laying Out iOS Views Programmatically With Many Different Formatting Options
- Open Source Library For Bringing The iOS 6 Auto Layout API To iOS 5
- Handy UIView Category Providing Layout Helper Methods (Z-Ordering, Absolute Positioning And More)
Original article: Tutorial: A Series Of Examples On Using The iOS Auto-Layout Feature Programmatically
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




