HPLayout Documentation Beta

Class Layout​Proxy

public class LayoutProxy 

Properties

leading

public lazy var leading 

trailing

public lazy var trailing 

top

public lazy var top 

bottom

public lazy var bottom 

width

public lazy var width 

height

public lazy var height 

center​X

public lazy var centerX 

center​Y

public lazy var centerY 

Methods

span​Vertically(_:​constant:​)

func spanVertically(_ layoutGuide: LayoutGuide, constant: CGFloat = 0.00) 

span​Horizontally(_:​constant:​)

func spanHorizontally(_ layoutGuide: LayoutGuide, constant: CGFloat = 0.00) 

span(_:​constant:​)

func span(_ layoutGuide: LayoutGuide, constant: CGFloat = 0.00) 

center​Vertically(in:​constant:​)

func centerVertically(in layoutGuide: LayoutGuide, constant: CGFloat = 0.00) 

center​Horizontally(in:​constant:​)

func centerHorizontally(in layoutGuide: LayoutGuide, constant: CGFloat = 0.00) 

center(in:​)

func center(in layoutGuide: LayoutGuide)