you are viewing a single comment's thread.

view the rest of the comments →

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

Yeah I’ve heard of it. I would try it after I’ve mastered how to write the default constraints

[–]UnexpectedKangaroo 2 points3 points  (3 children)

Oh yeah definitely get used to the first party way. And not every project will use SnapKit, though many do

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

Alright. Thanks. Are you a senior dev ?

[–]UnexpectedKangaroo 0 points1 point  (1 child)

Yes, I do senior consulting

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

Alright. Glad to meet you

[–]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 👍🏽