A placeholder value that is used to indicate that the constraint’s second item and second attribute are not used in any calculations. Use this value when creating a constraint that assigns a constant to an attribute. For example, item1
. If a constraint only has one item, set the second item to nil
, and set the second attribute to NSLayout
.
SDKs
- iOS 6.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Frameworks
- UIKit
- App
Kit
Declaration
case notAnAttribute = 0