Think twice before writing code to manipulate UI - Exploiting Autolayout
For all mobile developers out there, we know the pain in manipulating and assigning constraints at runtime. Many of us end up wasting our precious time and energy in making screens to please our Designers. I have seen experienced iOS developers not utilising full power of XIBs/Storyboards.
This talk is for anyone who wants to learn advanced tricks and tips to utilize the Autolayout features and start creating even complex screens in a matter of minutes.
With introduction of Constraint layout in Android, this talk will be helpful for Android developers to get started on it.
- Introduction and Basics of AutoLayout
- Never assign width to Labels!
- The power of setting Priorities to constraints.
- Create wrapper UIViews for you smaller components.
- Using Content Hugging and Compression resistance to your advantages.
- Using UITableView cell Automatic dimensions correctly.
- Examples and Demos.
- Miscellaneous tips and tricks.
Basic understanding of creating UI on any platform.
Anshuman Srivastava is an iOS developer with experience of working on Large Scale apps. He has worked in Snapdeal and Freecharge and is currently hacking in GoJek, the hottest startup of Southeast Asia. He is writing fully testable apps that handle Lakhs of sessions everyday with 99+ %age average crashfree session.
You can connect with him on LinkedIn: https://www.linkedin.com/in/justanshuman/