Latest 0.2.3
Homepage https://github.com/josejuanqm/QLayout
License MIT
Platforms ios 8.0
Authors

QLayout is an Utility to make Auto Layout easy on iOS.

Contents

Requirements

  • iOS 8.0+
  • Swift 3.0+

Installation

CocoaPods

To integrate QLayout into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'QLayout'
end

Then, run the following command:

$ pod install

Usage

Quick Start

import QLayout

class ViewController: UIViewController {

    lazy var subView = UIView()

    override func viewDidLoad() {
        super.viewDidLoad()

        self.view.addSubview(subView)

        subView.layout.width.height.equalTo(50)
        subView.layout.center.equalTo(view)
    }

}

Credits

License

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

Latest podspec

{
    "name": "QLayout",
    "version": "0.2.3",
    "summary": "A Swift Autolayout Utility for iOS",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/josejuanqm/QLayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/josejuanqm/QLayout.git",
        "tag": "0.2.3"
    },
    "social_media_url": "https://twitter.com/josejuanqm",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "QLayout/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This