From 726044d8640defb55cd375b11c763a9451ba3d9f Mon Sep 17 00:00:00 2001 From: Khoa Pham Date: Wed, 28 Jun 2017 00:07:28 +0200 Subject: [PATCH] Bump 1.2.0 --- Anchors.podspec | 2 +- README.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Anchors.podspec b/Anchors.podspec index 11be5e1..5000e1d 100644 --- a/Anchors.podspec +++ b/Anchors.podspec @@ -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" => "onmyway133@gmail.com" } diff --git a/README.md b/README.md index 034ac27..ca8ef09 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ 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() @@ -141,6 +141,9 @@ view.anchor.left.right let guide = UILayoutGuide() guide.anchor.width.height + +topLayoutGuide.anchor.bottom +bottomLayoutGuide.anchor.top ``` #### Activate constraints