Hacker News new | ask | show | jobs
by favorited 2353 days 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.