LayoutConstraint
extension LayoutConstraint
Extensions for making operations on NSLayoutConstraint
less vebose
-
Sets
LayoutConstraint
isActive
property to true and returns modified constraint.Declaration
Swift
var activated: LayoutConstraint { get }
-
Sets
LayoutConstraint
isActive
property to false and returns modified constraint.Declaration
Swift
var deactivated: LayoutConstraint { get }