Advertisement

Research and Implementation of Autolayout and Its Third Party Framework Masonry Based on IOS Development

  • Chao Chen
  • Xin Zhen
  • Kangye Wang
  • Aibin Huang
  • Caifeng Liu
Conference paper
Part of the Lecture Notes in Electrical Engineering book series (LNEE, volume 477)

Abstract

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.

Keywords

IOS Autolayout Masonry Constraint 

References

  1. 1.
    Chung C (2011) Pro objective-C design patterns for IOS. China Comput Commun 6:70–80Google Scholar
  2. 2.
    Erica S (2013) IOS Auto Layout Demystified. Addison-Wesley Educational Publishers Inc. (2):88–94Google Scholar
  3. 3.
    IOS Auto Layout with Masonry. https://www.infoq.com/news/2014/02/ios-auto-layout. Accessed 20 Apr 2017

Copyright information

© Springer Nature Singapore Pte Ltd. 2018

Authors and Affiliations

  • Chao Chen
    • 1
  • Xin Zhen
    • 1
  • Kangye Wang
    • 1
  • Aibin Huang
    • 1
  • Caifeng Liu
    • 1
  1. 1.Hangzhou Dianzi UniversityHangzhouChina

Personalised recommendations