Research and Implementation of Autolayout and Its Third Party Framework Masonry Based on IOS Development
IOS Autolayout technology used to solve the UI visual unit or element layout, and arrangement of the problem which can be a perfect solution to adapt to different sizes of the screen, and solve the problem of vertical and horizontal screen, and make programming no longer boring, so it is widely accepted by programmers. The core of Autolayout is the constraint. Research and the implementations of Autolayout’s constraints were introduced. Then, the basic properties and instructions of Masonry, which is now widely used, were introduced. Finally, through a specific interface in Wisdom Life App and comparative analysis the results of using Masonry or not, reflecting the Masonry’s advantage in automatic layout.
KeywordsIOS Autolayout Masonry Constraint
- 1.Chung C (2011) Pro objective-C design patterns for IOS. China Comput Commun 6:70–80Google Scholar
- 2.Erica S (2013) IOS Auto Layout Demystified. Addison-Wesley Educational Publishers Inc. (2):88–94Google Scholar
- 3.IOS Auto Layout with Masonry. https://www.infoq.com/news/2014/02/ios-auto-layout. Accessed 20 Apr 2017