
This video is only available to subscribers. Start a subscription today to get access to this and 477 other videos.
Easier Autolayout Constraints with SnapKit
Episode
#476
|
12 minutes
| published on
February 5, 2021
| Uses Xcode-12.3, Swift-5.3
Subscribers Only
The built-in way of adding constraints in code requires quite a bit of code and is a bit cumbersome to write. I believe that we should aim to reduce friction when writing code like this to make it easier to add new views and change your layout. SnapKit is a pretty useful dependency that gives you a DSL for making autolayout constraints. In this episode we'll integrate SnapKit into the project and simplify our existing layout code.
This episode is part of a series: Layout in Code.