CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.

SFProgressHUD 0.2.0

SFProgressHUD 0.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2016
SPMSupports SPM

Maintained by Edmong, Edmond, liu.



  • By
  • looseyi

SnapKit is a DSL to make Auto Layout easy on both iOS and OS X.

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)
        }
    }

}

Resources

License

MIT license. See the LICENSE file for details.