blob: 2c51a6266ca55956fe606a84805859ab9e40c2e0 [file] [log] [blame]
{
"name": "PureLayout",
"version": "1.0.0",
"homepage": "https://github.com/smileyborg/PureLayout",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"Tyler Fox": "tfox@smileyborg.com"
},
"platforms": {
"ios": "6.0",
"osx": "10.7"
},
"source": {
"git": "https://github.com/smileyborg/PureLayout.git",
"tag": "v1.0.0"
},
"source_files": "Source",
"requires_arc": true,
"summary": "The ultimate API for iOS & OS X Auto Layout — impressively simple, immensely powerful.",
"description": " PureLayout\n ==========\n\n The ultimate API for iOS & OS X Auto Layout — impressively simple, immensely powerful. PureLayout extends `UIView`/`NSView`, `NSArray`, and `NSLayoutConstraint` with a comprehensive Auto Layout API that is modeled after Apple's own frameworks.\n\n Writing Auto Layout code from scratch isn't easy. PureLayout provides a fully capable and developer-friendly interface for Auto Layout. It is designed for clarity and simplicity, and takes inspiration from the Auto Layout UI options available in Interface Builder while delivering far more flexibility. The API is also highly efficient, as it adds only a thin layer of third party code and is engineered for maximum performance.\n\n API Cheat Sheet\n ---------------\n\n This is just a handy overview of the core API methods. Explore the [header files](https://github.com/smileyborg/PureLayout/blob/master/Source) for the full API and documentation. A couple of notes:\n\n *\t*All of the API methods begin with `auto...` for easy autocompletion in Xcode!*\n *\t*All methods that generate constraints also automatically add the constraint(s) to the correct view, then return the newly created constraint(s) for you to optionally store for later adjustment or removal.*\n *\t*Many methods below also have a variant which includes a `relation:` parameter to make the constraint an inequality.*\n\n **`UIView`/`NSView`**\n\n + autoRemoveConstraint(s):\n - autoRemoveConstraintsAffectingView(AndSubviews)\n + autoSetPriority:forConstraints:\n - autoSetContent(CompressionResistance|Hugging)PriorityForAxis:\n - autoCenterInSuperview:\n - autoAlignAxisToSuperviewAxis:\n - autoPinEdgeToSuperviewEdge:withInset:\n - autoPinEdgesToSuperviewEdges:withInsets:(excludingEdge:)\n - autoPinEdge:toEdge:ofView:(withOffset:)\n - autoAlignAxis:toSameAxisOfView:(withOffset:)\n - autoMatchDimension:toDimension:ofView:(withOffset:|withMultiplier:)\n - autoSetDimension(s)ToSize:\n - autoConstrainAttribute:toAttribute:ofView:(withOffset:|withMultiplier:)\n - autoPinTo(Top|Bottom)LayoutGuideOfViewController:withInset: // iOS only\n\n **`NSArray`**\n\n - autoAlignViewsToEdge:\n - autoAlignViewsToAxis:\n - autoMatchViewsDimension:\n - autoSetViewsDimension:toSize:\n - autoDistributeViewsAlongAxis:withFixedSpacing:(insetSpacing:)alignment:\n - autoDistributeViewsAlongAxis:withFixedSize:(insetSpacing:)alignment:\n\n **`NSLayoutConstraint`**\n\n - autoInstall\n - autoRemove\n"
}