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

GFSignModule 0.1.5

GFSignModule 0.1.5

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jul 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by gaofang.



 
Depends on:
SnapKit>= 0
URLNavigator>= 0
 

  • By
  • JiMengfei

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

⚠️ To use with Swift 2.x please ensure you are using == 0.22.0 ⚠️

⚠️ To use with Swift 3.x please ensure you are using >= 3.0.0 ⚠️

Contents

Requirements

  • iOS 8.0+ / Mac OS X 10.11+ / tvOS 9.0+
  • Xcode 8.0+
  • Swift 3.0+

Migration Guides

Communication

  • If you need help, use Stack Overflow. (Tag ‘snapkit’)
  • If you’d like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Installation

Manually

If you prefer not to use either of the aforementioned dependency managers, you can integrate SnapKit into your project manually.


Usage

Quick Start

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

Credits

License

SnapKit is released under the MIT license. See LICENSE for details.