Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warnings to constraint removal convenience methods
Per a direct conversation with Apple, using these methods to "nuke" all the constraints on a view or view hierarchy and then installing a fresh set of constraints will result in disastrous performance when the Auto Layout engine/solver attempts to recalculate the view frames. Instead, you'll want to make sure views are only reused with the same constraints (or with very small differences or changes to the constant value of the constraints).
- Loading branch information
1 parent
1a6b9f1
commit 58a5086
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters