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+
- Host: GitHub
- URL: https://github.com/creatiwity/visualanchors
- Owner: Creatiwity
- License: mit
- Created: 2015-12-16T22:33:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T10:30:25.000Z (over 7 years ago)
- Last Synced: 2025-03-17T02:02:47.576Z (about 1 year ago)
- Language: Swift
- Homepage:
- Size: 237 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VisualAnchors
[](https://travis-ci.org/Creatiwity/VisualAnchors)

[](http://cocoapods.org/pods/VisualAnchors)
[](http://cocoapods.org/pods/VisualAnchors)
[](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.