3 ms·
Enforcing the `NSLayoutConstraint.activate(_:)` API for this in my codebase has saved so much debugging of stupid errors. All it takes is forgetting to add `.i
by favorited 7y ago
Enforcing the `NSLayoutConstraint.activate(_:)` API for this in my codebase has saved so much debugging of stupid errors.
All it takes is forgetting to add `.isActive = true` to a single constraint and nothing will work, and it can be so difficult to spot.