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.
  • Default relation equalTo with 0.0 value.

    Declaration

    Swift

    public static let `default`: LayoutRelation