Latest 0.0.3
Homepage https://github.com/segunlee/SGAutolayout
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
License
Platform

Example

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

Methods

 Pin: Superview

 pinToSuperviewEdges:offset:priority:
 pinToSuperviewEdges:offset:priority:usingLayoutGuidesFrom:

 Pin: To view
 pinToView:toView:toEdges:offset:priority:

 Center
 pinToSuperviewCenter:offset:priority:
 pinToCenterInView:center:offset:priority:

 Size
 sizeWidth:priority:
 sizeWidthGreaterThan:priority:
 sizeWidthLessThan:priority:
 sizeHeight:priority:
 sizeHeightGreaterThan:priority:
 sizeHeightLessThan:priority:

 Border (Adapting size)
 borderColor
 borderAll
 borderTop
 borderLeft
 borderBottom
 borderRight

Installation

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

pod "SGAutolayout"

Author

Segun Lee, [email protected]

License

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

Latest podspec

{
    "name": "SGAutolayout",
    "version": "0.0.3",
    "summary": "iOS Autolayout Helper Class",
    "homepage": "https://github.com/segunlee/SGAutolayout",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Segun Lee": "[email protected]"
    },
    "source": {
        "git": "https://github.com/segunlee/SGAutolayout.git",
        "tag": "0.0.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SGAutolayout/Classes/**/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This