Skip to content

A primitive but uncomplicated programmatic alternative to Xcode's AutoLayout.

Notifications You must be signed in to change notification settings

DolenzSong/NautoLayout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

NautoLayout

%$^&@! AutoLayout. In the time I've spent wrestling with that s**t and trying to stop it from crashing everything I could have finished my whole damn project.

Here is an XCode Playground with a spit-simple set of extensions to UIView. These let you accomplish simple tasks like laying out subviews uniformly along either the x or y axis, and defining the origin of any given view proportionally to its superview.

It's a little more work to set up than AutoLayout, but tweaking it, revising it, and debugging it are a lot less work than struggling with AutoLayout.

At the end of the Playground there are examples that demonstrate functionality.

About

A primitive but uncomplicated programmatic alternative to Xcode's AutoLayout.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%