Instance Property

firstItem

The first object participating in the constraint.

Declaration

iOS, tvOS
unowned(unsafe) var firstItem: AnyObject? { get }
macOS
weak var firstItem: AnyObject? { get }

See Also

Accessing Constraint Data

var firstAttribute: NSLayoutAttribute

The attribute of the first object participating in the constraint.

var relation: NSLayoutRelation

The relation between the two attributes in the constraint.

var secondItem: AnyObject?

The second object participating in the constraint.

var secondAttribute: NSLayoutAttribute

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 firstAnchor: NSLayoutAnchor<AnyObject>

The first anchor that defines the constraint.

var secondAnchor: NSLayoutAnchor<AnyObject>?

The second anchor that defines the constraint.