Latest 2.2
Homepage https://github.com/banxi1988/PinAuto
License MIT
Platforms ios 8.0, requires ARC
Authors

PinAuto 为在 iOS 开发中使用 AutoLayout 提供了方便的写法.

CI Status
Version
License
Platform

import PinAuto

class MyViewController:UIViewController{
  lazy var box = UIView()

  override func loadView() {
    super.loadView()
    self.view.addSubview(box)
    box.pa_width.eq(100).install()
    box.pa_height.eq(100).install()
    box.pa_centerX.install()
    box.pa_centerY.install()
  }

}

使用

要运行示例项目,先 clone 此项目,然后先在 Example 目录执行 pod install 命令.

安装

PinAuto 支持(同时推荐)通过CocoaPods安装 .
在你的 Podfile 中加入下面一行即可:

pod "PinAuto"

Usage

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

Installation

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

pod "PinAuto"

Author

banxi1988, [email protected]

License

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

Latest podspec

{
    "name": "PinAuto",
    "version": "2.2",
    "summary": "PinAuto u4e3au5728 iOS u5f00u53d1u4e2du4f7fu7528 AutoLayout u63d0u4f9bu4e86u65b9u4fbfu7684u5199u6cd5.",
    "description": "PinAuto u6839u636eu4e3bu8981u7684u4f7fu7528u573au666f,u6781u5927u7684u7b80u5316u4e86, AutoLayout u4e2du7ea6u675fu7684u521bu5efa. u540cu65f6u4e5fu4fddu7559u4e86 AutoLayoutu7684u5f3au5927u7684u7075u6d3bu6027",
    "homepage": "https://github.com/banxi1988/PinAuto",
    "license": "MIT",
    "authors": {
        "banxi1988": "[email protected]"
    },
    "source": {
        "git": "https://github.com/banxi1988/PinAuto.git",
        "tag": "2.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This