An open API service indexing awesome lists of open source software.

https://github.com/creatiwity/visualanchors

An easier way to programmatically use constraints in Swift iOS8+
https://github.com/creatiwity/visualanchors

Last synced: about 1 year ago
JSON representation

An easier way to programmatically use constraints in Swift iOS8+

Awesome Lists containing this project

README

          

# VisualAnchors

[![CI Status](http://img.shields.io/travis/Creatiwity/VisualAnchors.svg?style=flat)](https://travis-ci.org/Creatiwity/VisualAnchors)
![Language](https://img.shields.io/badge/languages-Swift-orange.svg)
[![Version](https://img.shields.io/cocoapods/v/VisualAnchors.svg?style=flat)](http://cocoapods.org/pods/VisualAnchors)
[![License](https://img.shields.io/cocoapods/l/VisualAnchors.svg?style=flat)](http://cocoapods.org/pods/VisualAnchors)
[![Platform](https://img.shields.io/cocoapods/p/VisualAnchors.svg?style=flat)](http://cocoapods.org/pods/VisualAnchors)

## 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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "VisualAnchors"
```

### Swift Package Manager

You can use [The Swift Package Manager](https://swift.org/package-manager) to install `VisualAnchors` by adding the proper description to your `Package.swift` file:

```swift
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](https://swift.org/package-manager) is still in early design and development, for more infomation checkout its [GitHub Page](https://github.com/apple/swift-package-manager)

## Author

Creatiwity, contact@creatiwity.net

## License

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