Léo
Léo
Aug 22, 2017 · 1 min read

Nice tutorial, but I’m not agree with SnapKit use, with iOS9 you can make constraint very quickly now, with the new syntax. The same tutorial with iOS9 constraint syntax will be more “neutral” I think.

But if you need ot support iOS8 I agree to use SnapKit.

Howover that’s a great approach :)

ref: https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/ProgrammaticallyCreatingConstraints.html

)
    Léo

    Written by

    Léo

    Objectif C && Swift Developer. In ❤️ with Cocoa.