Sets which part of the window stays stationary during constrain based layout.
On This Page
func setAnchorAttribute(_ attr: NSLayoutConstraint.Attribute, for orientation: NSLayoutConstraint.Orientation)
The layout attribute. The possible values are specified in NSLayoutConstraint.Attribute.
The window drag orientation. The possible values are specified in NSLayoutConstraint.Orientation.
func anchorAttribute(for: NSLayoutConstraint.Orientation) -> NSLayoutConstraint.Attribute
Returns which part of the window stays stationary during constraint based layout.