Skip to content

Instantly share code, notes, and snippets.

class RelativeLayoutConstraint: NSLayoutConstraint {
enum RelativeMetric {
case None
case ScreenWidth
case ScreenHeight
}
@IBInspectable var percentage: CGFloat = 0