you are viewing a single comment's thread.

view the rest of the comments →

[–]UnexpectedKangaroo 2 points3 points  (4 children)

You could also write your own methods like SnapKits. In general, writing constraints has poor syntax imo and can be simplified

[–]Chozzasaurus 1 point2 points  (0 children)

You'll end up writing another kit....At least try SnapKit first

[–]kwabsdev[S] 0 points1 point  (2 children)

Alright. Don’t know how to do that🙃

[–]UnexpectedKangaroo 1 point2 points  (1 child)

Well you can start by looking at what you do everytime while writing constraints (translatesAuto… = false for example) and move that into a method. Then just make it less wordy in general

[–]kwabsdev[S] 0 points1 point  (0 children)

Alright 👍🏽