Latest 1.1.0
Homepage https://github.com/catalinaturlea/VisualConstraints
License MIT
Platforms ios 7.0, requires ARC
Dependencies CocoaLumberjack
Frameworks UIKit, MapKit
Authors

[![CI Status](http://img.shields.io/travis/Catalina Turlea/VisualConstraints.svg?style=flat)](https://travis-ci.org/Catalina Turlea/VisualConstraints)
Version
License
Platform

Usage

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

Requirements

Installation

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

pod "VisualConstraints"

Usage

To use the Categories in your project make sure to use

#import <VisualConstraints/VisualConstraints.h>

The methods to add constraints to UI elements are pretty straight forward and easy to use:

let contentView = UIView()
self.view.addSubview(contentView)

// Add the constraints
contentView.addConstraintsForWidth(300)
contentView.addConstraintsForHeight(200)
contentView.addConstraintsToCenter() 

Author

Catalina Turlea, [email protected]

License

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

Latest podspec

{
    "name": "VisualConstraints",
    "version": "1.1.0",
    "summary": "Small library for making it easy to programmatically add constraints",
    "description": "The Pod provides methods to easily add and debug constraints programmatically. It includes methods for the most commonly used layouting of UI elements. The Pod also includes methods to ease the use of scrollviews and autolayout.",
    "homepage": "https://github.com/catalinaturlea/VisualConstraints",
    "license": "MIT",
    "authors": {
        "Catalina Turlea": "[email protected]"
    },
    "source": {
        "git": "https://github.com/catalinaturlea/VisualConstraints.git",
        "tag": "1.1.0"
    },
    "social_media_url": "https://twitter.com/CatalinaTurlea",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/*",
    "resource_bundles": {
        "VisualConstraints": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/*.h",
    "frameworks": [
        "UIKit",
        "MapKit"
    ],
    "dependencies": {
        "CocoaLumberjack": []
    }
}

Pin It on Pinterest

Share This