Enumeration

NSLayoutConstraint.Relation

The relation between the first attribute and the modified second attribute in a constraint.

Declaration

enum Relation : Int

Topics

Constants

case lessThanOrEqual

The constraint requires the first attribute to be less than or equal to the modified second attribute.

case equal

The constraint requires the first attribute to be exactly equal to the modified second attribute.

case greaterThanOrEqual

The constraint requires the first attribute to be greater than or equal to the modified second attribute.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software