Skip to content

Commit

Permalink
Bump 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
onmyway133 committed Jun 27, 2017
1 parent 2b3a300 commit 726044d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Anchors.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Anchors"
s.summary = "Declarative, extensible, powerful Auto Layout for iOS and macOS"
s.version = "1.1.1"
s.version = "1.2.0"
s.homepage = "https://github.com/onmyway133/Anchors"
s.license = 'MIT'
s.author = { "Khoa Pham" => "[email protected]" }
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,17 @@ More example can be found in [Example](https://github.com/onmyway133/Anchors/tre

#### Access Anchor

Prefer composition over extension, this is how you access `anchor`
Prefer composition over extension, this is how you access `anchor`. Support `View`, `LayoutGuide`, `LayoutSupport`

```swift
let view = UIView()
view.anchor.left.right

let guide = UILayoutGuide()
guide.anchor.width.height

topLayoutGuide.anchor.bottom
bottomLayoutGuide.anchor.top
```

#### Activate constraints
Expand Down

0 comments on commit 726044d

Please sign in to comment.