4 ms·
> Is it actually feasible to use AutoLayout in a larger-scale app without something like Cartography? You can now do this: addConstraint(button1.rightAncho
by DerekL 9y ago
> Is it actually feasible to use AutoLayout in a larger-scale app without something like Cartography?
You can now do this:
addConstraint(button1.rightAnchor.constraint(equalTo: button2.leftAnchor, constant: -12.0))
I think this is pretty compact and readable as it is. But it's only supported in iOS 9 and macOS 10.11 (right now, only one version back).