Skip to content

bartjacobs/AutoLayoutFundamentals-AutoLayoutInCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto Layout Fundamentals: Auto Layout in Code

Author: Bart Jacobs

You should already be familiar enough with Auto Layout to create a user interface with it. So far, we have used Interface Builder to create and modify constraints. But a storyboard is nothing more than a list of instructions that are executed at runtime. It is also possible to create and modify constraints in code. In fact, that is what the layout engine does at runtime.

While I do not recommend creating the user interface of your application in code, it is useful, and at times necessary, to know how to define and add constraints in code. It gives you a better understanding of Auto Layout. At the end of this lesson, you should feel comfortable creating constraints in code.

Read this article on the blog.

About

Auto Layout Fundamentals: Auto Layout in Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages