You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the naming of some of the methods -- particularly those normally relating to dimensions -- will cause some confusion
For this reason, I suggest renaming to something like:
view.heightConstraint
view.widthConstraint
view.sizeConstraint
view.centerConstraint
etc.
or
view.constrainWidth
view.constraintHeight
view.constrainSize
view.constrainCenter
etc.
The slight increase in verbosity would do a lot to help understanding and recall, without going all over-verbose overkill like the current Auto Layout API.
Cheers. And thank you for your contribution.
The text was updated successfully, but these errors were encountered:
I considered something like this when I wrote these functions and came to conclusion that I like the shorter version more. Maybe I change my mind later ;)
This looks like a very useful project!
However, the naming of some of the methods -- particularly those normally relating to dimensions -- will cause some confusion
For this reason, I suggest renaming to something like:
or
The slight increase in verbosity would do a lot to help understanding and recall, without going all over-verbose overkill like the current Auto Layout API.
Cheers. And thank you for your contribution.
The text was updated successfully, but these errors were encountered: