Returns a constraint that defines one item’s attribute as equal to another.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
NSLayout object that defines an equal relationship between the attributes represented by the two layout anchors.
This method defines the relationship
first attribute = second attribute. Where
first attribute is the layout attribute represented by the anchor receiving this method call, and
second attribute is the layout attribute represented by the
The constraints produced by the following two examples are identical.