Grids 0.0.2

Grids 0.0.2

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

Maintained by Leo, Leo.




Grids 0.0.2

Grids

Grids 🏁 Grids layout, making views equidistant. Base on [SnapKit](https://github.com/SnapKit/SnapKit). (Waiting [logo](mailto:[email protected])…)

In me the tiger sniffs the rose.

心有猛虎,细嗅蔷薇。

Welcome to visit my blog:https://LeoDev.me

Contents

Requirements

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

Installation

Manually

If you prefer not to use the aforementioned dependency manager, you can integrate Grids into your project manually.

Usage

  • Quick Start:

    let view1 = UIView()
    let view2 = UIView()
    
    self.view.addSubview(view1)
    self.view.addSubview(view2)
    
    view1.snp.makeConstraints { (make) in
        make.centerY.equalToSuperview()
        make.size.equalTo(CGSize(width: 80.0, height: 80.0))
    
        make.centerY.equalTo(view2)
        make.size.equalTo(view2)
    }
    
    self.view.grids.horizontal(subviews: [view1, view2])
  • Resources:

ChangeLog

V 0.0.2

  • Rename and migrate project:

    Grid -> Grids
    

V 0.0.1

  • Hello World!

Support

License

Grids is released under the MIT License.