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
I think it would be a good idea to acknowledge the fact that, while Apple's original AutoLayout API syntax is indeed very verbose, since iOS9 it can be rewritten using their anchor syntax.
And indeed this points to the fact that in some cases, Apple's anchor syntax is pretty good (in this specific case, it's shorter than Cartography's).
Of course in many other cases Cartography's syntax is probably still shorter even than Apple's revised syntax.
Moreover, if a user targets lower than iOS9, then Cartography offers a solution there.
But I think users should be made aware of this revised Apple syntax, so they can make an informed decision about the best solution for their project.
The text was updated successfully, but these errors were encountered:
I think it would be a good idea to acknowledge the fact that, while Apple's original AutoLayout API syntax is indeed very verbose, since iOS9 it can be rewritten using their anchor syntax.
For example this code from the Readme file:
becomes:
And indeed this points to the fact that in some cases, Apple's anchor syntax is pretty good (in this specific case, it's shorter than Cartography's).
Of course in many other cases Cartography's syntax is probably still shorter even than Apple's revised syntax.
Moreover, if a user targets lower than iOS9, then Cartography offers a solution there.
But I think users should be made aware of this revised Apple syntax, so they can make an informed decision about the best solution for their project.
The text was updated successfully, but these errors were encountered: