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

AutoLayoutLink 1.3.3

AutoLayoutLink 1.3.3

Maintained by 承轩.



  • By
  • jianli

#AutoLayoutLink

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

import AutoLayoutLink

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let temp = UIView()
        temp.backgroundColor = .cyan
        view.layoutAv(temp)
            .size(200)
            .center()
        
        let lab = UILabel()
        lab.backgroundColor = .red
        lab.text = "测试label"
        temp.layoutAv(lab)
            .top()
            .horz()
    }
}

Requirements

iOS 10.0, macOS 10.12, tvOS 10.0
Swift 5.0

Installation

AutoLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AutoLayout', '~> 1.3.0'

Author

jianli, [email protected]

License

AutoLayout is available under the MIT license. See the LICENSE file for more info.