Skip to content

Instantly share code, notes, and snippets.

Avatar

Pierre Felgines felginep

View GitHub Profile
View LayoutConstraint.swift
struct ConstraintBuilder {
var firstItem: UIView?
var firstAttribute: NSLayoutAttribute?
var relation: NSLayoutRelation?
var secondAttribute: NSLayoutAttribute?
var secondItem: UIView?
var multiplier: CGFloat = 1.0
var constant: CGFloat = 0.0
}
You can’t perform that action at this time.