SnapKit/SnapKit
View on GitHub ↗ ★ 20,339 Swift
A Swift Autolayout DSL for iOS & OS X
7 mentions on Hacker News by 6 people: 0 stories, 7 comments · first 2015-06-27 · latest 2020-05-29
20082026
-
…features but I don't know if this is what I want to be honest. You can take a look at SnapKit here: https://github.com/SnapKit/SnapKit
comment by mateioprea · 2020-05-29 · in Ask HN: Any suggestions for Autolayout for Android development -
Re: avoiding IB, https://github.com/SnapKit/SnapKit is a lifesaver, a lightweight DSL that nearly 1-to-1 wraps around AutoLayout APIs.
comment by g09980 · 2017-10-30 · in Show HN: Attributed strings in Swift 4 -
I consider XCode's IB to be an abomination, I use SnapKit and I love it. https://github.com/SnapKit/SnapKit
comment by devsquid · 2016-09-28 · in Auto Layout Demystified -
…it as much as using it then look into doing your layouts in code with one of these libraries: https://github.com/SnapKit/SnapKit https://github.com/robb/Cartography It may take a little getting used to but, especially for the kind of…
comment by cageface · 2016-09-20 · in Android Studio 2.2 -
There is also SnapKit which I really like: https://github.com/SnapKit/SnapKit box.snp_makeConstraints { (make) -> Void in make.width.height.equalTo(50) make.center.equalTo(self.view) }
comment by msoad · 2016-03-08 · in Stevia: Human-readable auto-layout in code -
…[1] - https://itunes.apple.com/us/course/developing-ios-8-apps-swi... [2] - https://github.com/SnapKit/SnapKit [3] - https://github.com/Alamofire/Alamofire [4] - https://github.com/fastlane/fastlane
comment by MartinRogalla · 2015-12-28 · in Ask HN: What is the best book for learning Swift? -
I've been using SnapKit, a similar library, with great success recently: 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…
comment by cageface · 2015-06-27 · in Cartography: Declarative Auto Layout in Swift