Get Updates By E-mail 

Article Written By:
Johann Dowa

Arranged – A UIStackView Replacement For Easily Creating Layouts With iOS 8+ Support

  •  
  •  
  •  
  •  
  •  

Arranged from Alexander Grebenyuk is an open source library for easily collection view layout created as a replacement for UIStackView with support for iOS 8+ and for tvOS.

Arranged supports all UIStackView layouts with alignment, distributions, spacing and other UIStackView parameters for easily laying out your views. Arranged also supports animation and generates the same constraints as UISTtackView.

This code snippet shows basic usage of arranged:

let stackView = StackView(arrangedSubviews: [view1, view2, view3])
stackView.alignment = .Leading
stackView.distribution = .FillEqually
stackView.spacing = 20
stackView.axis = .Vertical
stackView.layoutMarginsRelativeArrangement = true

Arranged

You can find Arranged on Github here.

A nice UIStackView inspired library for creating layouts.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments