LayoutRelation
public enum LayoutRelation
LayoutRelation represents autolayout constraint relationship with other attribute.
- equalTo: first attribute to be exactly equal to the modified second attribute.
- greaterThanOrEqualTo: first attribute to be greater than or equal to the modified second attribute.
- lessThanOrEqualTo: first attribute to be less than or equal to the modified second attribute.
-
Equal relation
Declaration
Swift
case equalTo(LayoutValueRepresentable) -
GreaterThanOrEqualTo relation
Declaration
Swift
case greaterThanOrEqualTo(LayoutValueRepresentable) -
LessThanOrEqualTo relation
Declaration
Swift
case lessThanOrEqualTo(LayoutValueRepresentable)
-
Default relation
equalTowith 0.0 value.Declaration
Swift
public static let `default`: LayoutRelation
View on GitHub
Install in Dash
LayoutRelation Enumeration Reference