Enumerations

The following enumerations are available globally.

  • 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.
    See more

    Declaration

    Swift

    public enum LayoutRelation
  • Space - represents default set of space sizes.

    • p0: Space value 0.0
    • p1: Space value 8.0
    • p2: Space value 16.0
    • p3: Space value 24.0
    • p4: Space value 32.0
    • p5: Space value 40.0
    • p6: Space value 48.0
    • p7: Space value 56.0
    • p8: Space value 64.0
    See more

    Declaration

    Swift

    public enum Space : CGFloat, LayoutValueRepresentable