We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isActive
TinyConstraints sets isActive default value for all functions to true. So as result all constraints are activated as soon as they created. But this's not efficient according apple documentation, see https://developer.apple.com/documentation/uikit/nslayoutconstraint/1526955-activate
true
Typically, using this method is more efficient than activating each constraint individually.
So I propose extending the library with something like
public enum TinyConstraintsConfiguration { public static var isActiveDefault: Bool = true } func anyTinyconstraintsFunction(..., isActive: Bool = TinyConstraintsConfiguration. isActiveDefault) -> Constraint
This should not be source breaking change.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TinyConstraints sets
isActive
default value for all functions totrue
. So as result all constraints are activated as soon as they created. But this's not efficient according apple documentation, see https://developer.apple.com/documentation/uikit/nslayoutconstraint/1526955-activateSo I propose extending the library with something like
This should not be source breaking change.
The text was updated successfully, but these errors were encountered: