Menu

#648 Refactor layout constraints to improve maintainability

iphone_1.10
open
nobody
None
4
2020-07-18
2020-07-18
No

We are using auto layout, but our setup of layout constraints is low-level and not very maintainable.
Try to group the elements into standard layouts like StackView, Visual Format Language, or similar.

See also https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/LayoutUsingStackViews.html#//apple_ref/doc/uid/TP40010853-CH11-SW1

Discussion

  • Christa Runge

    Christa Runge - 2020-07-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
     We are using auto layout, but our setup of layout constraints is low-level and not very maintainable.
    -Try to group the elements into standard layouts like StackView or similar.
    +Try to group the elements into standard layouts like StackView, Visual Format Language, or similar.
    
     See also https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/LayoutUsingStackViews.html#//apple_ref/doc/uid/TP40010853-CH11-SW1
    
     
  • Christa Runge

    Christa Runge - 2020-07-18
    • Priority: 5 --> 4
     

Log in to post a comment.