CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Jul 2017 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by gaofang.
| Depends on: | |
| SnapKit | >= 0 |
| URLNavigator | >= 0 |
SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.
If you prefer not to use either of the aforementioned dependency managers, you can integrate SnapKit into your project manually.
import SnapKit
class MyViewController: UIViewController {
lazy var box = UIView()
override func viewDidLoad() {
super.viewDidLoad()
self.view.addSubview(box)
box.snp.makeConstraints { (make) -> Void in
make.width.height.equalTo(50)
make.center.equalTo(self.view)
}
}
}SnapKit is released under the MIT license. See LICENSE for details.