blob: b7e1e28dbccd28f951a8cc5c88180a86cdcdf4c7 [file] [log] [blame]
{
"name": "UIView+AutoLayout",
"version": "0.1.0",
"summary": "A carefully-crafted category on UIView that provides a simpler semantic interface for creating Auto Layout constraints.",
"description": "\t\t\t\t\t\tUIView+AutoLayout\n\t\t\t\t\t\t=================\n\n\t\t\t\t\t\t*Originally forked from [jrturton/UIView-Autolayout](https://github.com/jrturton/UIView-Autolayout) by Tyler Fox. Distributed with the MIT License.*\n\n\t\t\t\t\t\tIntroduction\n\t\t\t\t\t\t------------\n\n\t\t\t\t\t\tA carefully-crafted category on `UIView` that provides a simpler semantic interface for creating Auto Layout constraints.\n\n\t\t\t\t\t\tThe goal is to provide a pleasant API for the vast majority of common use cases. It's not designed for density or brevity ([Apple's VFL](http://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Articles/formatLanguage.html) is great for that), instead it is designed for clarity and simplicity. Working with Auto Layout is difficult enough as it is, especially when transitioning large codebases to support it. The API takes inspiration from the Auto Layout UI options available in Interface Builder.\n\n\t\t\t\t\t\tAPI Cheat Sheet\n\t\t\t\t\t\t---------------\n\n\t\t\t\t\t\tThis is just a handy overview of the primary methods. Check out the header file for the full API and documentation.\n\n\t\t\t\t\t\t*Note: all of the API methods begin with `auto...` for easy autocompletion!*\n\n\t\t\t\t\t\t*\tautoCenterInSuperview\n\t\t\t\t\t\t\t*\talongAxis:\n\t\t\t\t\t\t*\tautoPinCenterAxis:toPositionInSuperview:\n\t\t\t\t\t\t*\tautoPinEdge:toPositionInSuperview:\n\t\t\t\t\t\t*\tautoPinEdge(s)ToSuperviewEdge(s):withInset(s):\n\t\t\t\t\t\t*\tautoPinEdge:toEdge:ofView:\n\t\t\t\t\t\t\t*\twithOffset:\n\t\t\t\t\t\t*\tautoAlignAxis:toSameAxisOfView:\n\t\t\t\t\t\t\t*\twithOffset:\n\t\t\t\t\t\t*\tautoMatchDimension:toDimension:ofView:\n\t\t\t\t\t\t\t*\twithOffset:\n\t\t\t\t\t\t*\tautoSetDimension(s)ToSize:\n\t\t\t\t\t\t*\tautoDistributeSubviews:alongAxis:withFixedSpacing:alignment:\n\t\t\t\t\t\t*\tautoDistributeSubviews:alongAxis:withFixedSize:alignment:\n\n\t\t\t\t\t\tLimitations\n\t\t\t\t\t\t-----------\n\n\t\t\t\t\t\t*\tWill need to use `NSLayoutConstraint` directly in some cases for advanced customization of constraints (e.g. priority)\n\t\t\t\t\t\t*\tUIView+AutoLayout intentionally does not support \"Leading\" or \"Trailing\" for simplicity, therefore it is not intended to support UI that will display right-to-left languages\n",
"homepage": "https://github.com/smileyborg/UIView-AutoLayout",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"Tyler Fox": "tfox@smileyborg.com"
},
"platforms": {
"ios": "6.0"
},
"source": {
"git": "https://github.com/smileyborg/UIView-AutoLayout.git",
"tag": "v0.1.0"
},
"source_files": "*.{h,m}",
"requires_arc": true
}