UIViewKit
UIViewKit copied to clipboard
Enhance UIView Autolayout API for Inline Activation/Deactivation with Method Chaining Support
Implement a method chaining pattern in the UIViewDSL autolayout API, allowing developers to activate or deactivate constraints within the same line as their definition. For example:
view.topAnchor.constraint(equalTo: otherView.bottomAnchor)
.ibIsActive(true)
.ibIsActive(false)