The second object participating in the constraint.
SDKs
- iOS 6.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Frameworks
- UIKit
- App
Kit
Declaration
unowned(unsafe) var secondItem: AnyObject? { get }
The second object participating in the constraint.
SDKs
Frameworks
unowned(unsafe) var secondItem: AnyObject? { get }
var first Item: Any Object?
The first object participating in the constraint.
var first Attribute: NSLayout Constraint .Attribute
The attribute of the first object participating in the constraint.
var relation: NSLayout Constraint .Relation
The relation between the two attributes in the constraint.
var second Attribute: NSLayout Constraint .Attribute
The attribute of the second object participating in the constraint.
var multiplier: CGFloat
The multiplier applied to the second attribute participating in the constraint.
var constant: CGFloat
The constant added to the multiplied second attribute participating in the constraint.
var first Anchor: NSLayout Anchor<Any Object>
The first anchor that defines the constraint.
var second Anchor: NSLayout Anchor<Any Object>?
The second anchor that defines the constraint.