LayoutConstraintDefinitions
public struct LayoutConstraintDefinitions
A list of layout constraint definitions that can be used to create and/or update constraints on a view.
-
Creates the layout constraints defined within this
LayoutConstraintDefinitions
object.Declaration
Swift
@discardableResult public func create() -> [LayoutConstraint]
-
Updates the layout constraints referenced by this
LayoutConstraintDefinitions
object.Note: This method assumes the referenced constraints already exist. If one or more of the constraints does not exist, the method traps with a
fatalError
.Declaration
Swift
@discardableResult public func update() -> [LayoutConstraint]
-
Undocumented
Declaration
Swift
static func | ( lhs: LayoutConstraintDefinitions, rhs: LayoutPriority ) -> LayoutConstraintDefinitions