A factory class for creating size-based layout constraint objects using a fluent API.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
Use these constraints to programatically define your layout using Auto Layout. All sizes are measured in points. In addition to providing size-specific methods for creating constraints, this class adds type information to the methods inherited from
NSLayout. Specifically, the generic methods declared by
NSLayout must now take a matching
For more information on using layout anchors, see