3 ms·
I've been using SnapKit, a similar library, with great success recently: https://github.com/SnapKit/SnapKit https://github.com/SnapKit/SnapKit In fact I've es
by cageface 11y ago
I've been using SnapKit, a similar library, with great success recently:
https://github.com/SnapKit/SnapKit https://github.com/SnapKit/SnapKit
In fact I've essentially ditched interface builder for my last two projects. I've found this to be an overall boost in productivity and code maintainability, particularly on team projects. I was skeptical of doing layout in code and I'm not sure I'd advocate doing this in ObjC but the expressiveness of Swift makes it possible to build such a nice DSL for layout that I think it's a net win over IB and Storyboards.
- jurip 11y agoWe've been using Masonry (https://github.com/SnapKit/Masonry https://github.com/SnapKit/Masonry), the predecessor to SnapKit, on a pretty large Objective-C project for the last year and a half. We do have some constraints in XIBs but lots in code, too. It's been great and I'd absolutely, without hesitation, recommend it to anyone.