Skip to content

Commit

Permalink
Installation - Swift Package Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
bielikb authored Sep 14, 2019
1 parent c7eb48f commit 2bec3f3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@ public struct UseAutoLayout<T: UIView> {
@UseAutoLayout var label = UILabel()
```


## Installation

Property wrappers are defined in Swift 5.1.
Using @UseAutoLayout requires Xcode 11.0(and above) and Swift 5.1 toolchain


### Swift Package Manager

Add `.package(url: "https://github.com/bielikb/UseAutoLayout.git", from: "1.0.0")` to your
`Package.swift` file's `dependencies`.

If youre using Xcode 11.0, add this Swift Package to your target(s).

——-

# Example

![Sample](assets/autolayout-1.png)
Expand Down

0 comments on commit 2bec3f3

Please sign in to comment.