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
LayoutConstraintDefinitionsobject.Declaration
Swift
@discardableResult public func create() -> [LayoutConstraint] -
Updates the layout constraints referenced by this
LayoutConstraintDefinitionsobject.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