Latest 0.0.5
Homepage https://github.com/HaloWang/WCQuick
License MIT
Platforms ios 8.0, requires ARC
Dependencies WCLayout
Frameworks UIKit
Authors

Update

This repository is useless now.
See my new framework HaloWang/Halo

Usage

Before use WCQuick
import UIKit

class ViewController: UIViewController {

    let label = UILabel()

    override func viewDidLoad() {
        super.viewDidLoad()

        label.frame = CGRect(x: 0, y: 0, width: 320, height: 20)
        label.text = "Text"
        label.textColor = UIColor.redColor()
        view.addSubview(label)
    }
}
After use WCQuick
import UIKit
import WCQuick

class ViewController: UIViewController {

    let label = UILabel()

    override func viewDidLoad() {
        super.viewDidLoad()

        label.superView(view)
            .frame(CGRect(x: 0, y: 0, width: 320, height: 20))
            .text("Text")
            .textColor(UIColor.redColor())
    }
}

Latest podspec

{
    "name": "WCQuick",
    "version": "0.0.5",
    "summary": "WCQuick is a easier way to set UIKit class properties, it also has some useful functions",
    "homepage": "https://github.com/HaloWang/WCQuick",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u738bu7b56": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/HaloWang/WCQuick.git",
        "tag": "0.0.5"
    },
    "source_files": "WCQuick/*.{swift}",
    "frameworks": "UIKit",
    "requires_arc": true,
    "dependencies": {
        "WCLayout": []
    }
}

Pin It on Pinterest

Share This