HPLayout Documentation Beta

Protocol Layout​Anchor

public protocol LayoutAnchor 

Requirements

constraint(equal​To:​constant:​)

func constraint(equalTo anchor: Self, constant: CGFloat) -> NSLayoutConstraint

constraint(greater​Than​OrEqual​To:​constant:​)

func constraint(greaterThanOrEqualTo anchor: Self, constant: CGFloat) -> NSLayoutConstraint

constraint(less​Than​OrEqual​To:​constant:​)

func constraint(lessThanOrEqualTo anchor: Self, constant: CGFloat) -> NSLayoutConstraint