/VisualAnchors

An easier way to programmatically use constraints in Swift iOS8+

Primary LanguageSwiftMIT LicenseMIT

VisualAnchors

CI Status Language Version License Platform

Usage

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

Requirements

  • iOS 8+
  • Swift 4.0

Installation

CocoaPods

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

pod "VisualAnchors"

Swift Package Manager

You can use The Swift Package Manager to install VisualAnchors by adding the proper description to your Package.swift file:

import PackageDescription

let package = Package(
    name: "YOUR_PROJECT_NAME",
    targets: [],
    dependencies: [
        .Package(url: "https://github.com/Creatiwity/VisualAnchors.git", majorVersion: 3)
    ]
)

Note that the Swift Package Manager is still in early design and development, for more infomation checkout its GitHub Page

Author

Creatiwity, contact@creatiwity.net

License

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