Skip to content

Commit

Permalink
Update version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc Dion committed Aug 5, 2018
1 parent 5170a2f commit 0cae4f6
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 7 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,38 @@

# Change Log

## [1.7.11](https://github.com/layoutBox/PinLayout/releases/tag/1.7.11)
Released on 2018-08-05

#### Method that position multiple edges now accept an `offset` parameter.
The `offset` parameter that specifies the distance from their superview's corresponding edges in pixels.

**New methods:**

* `topLeft(_ offset: CGFloat)`
* `topCenter(_ topOffset: CGFloat)`
* `topRight(_ offset: CGFloat)`

* `centerLeft(_ leftOffset: CGFloat)`
* `center(_ offset: CGFloat)`
* `centerRight(_ rightOffset offset: CGFloat)`

* `bottomLeft(_ offset: CGFloat)`
* `bottomCenter(_ bottomOffset: CGFloat)`
* `bottomRight(_ offset: CGFloat)`

For example, to position a view at the top left corner with a top and left margin of 10 pixels:

```
view.pin.topLeft(10)
```

#### Other change
Cleanup the interface by using default value parameters.

* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#163](https://github.com/layoutBox/PinLayout/pull/163)


## [1.7.10](https://github.com/layoutBox/PinLayout/releases/tag/1.7.10)
Released on 2018-07-17

Expand Down
6 changes: 3 additions & 3 deletions PinLayout.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

Pod::Spec.new do |spec|
spec.name = "PinLayout"
spec.version = "1.7.10"
spec.summary = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. [iOS/macOS/tvOS]"
spec.description = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS]"
spec.version = "1.7.11"
spec.summary = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]"
spec.description = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]"
spec.homepage = "https://github.com/layoutBox/PinLayout"
spec.license = "MIT license"
spec.author = { "Luc Dion" => "[email protected]" }
Expand Down
8 changes: 4 additions & 4 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- Nimble (7.0.3)
- PinLayout (1.7.9)
- PinLayout (1.7.11)
- Quick (1.2.0)
- Reveal-SDK (16)
- SwiftLint (0.25.1)
Expand All @@ -13,7 +13,7 @@ DEPENDENCIES:
- SwiftLint

SPEC REPOS:
https://github.com/cocoapods/specs.git:
https://github.com/CocoaPods/Specs.git:
- Nimble
- Quick
- Reveal-SDK
Expand All @@ -25,11 +25,11 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac
PinLayout: 831bd290944681da6e02c2017f25601db55535e9
PinLayout: 90c26ecc9504e35c6569a65d78dc50853d96f08c
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
Reveal-SDK: ed36bdbb3cbf90b94ae5da0dbcb3c7ae6738c51f
SwiftLint: ce933681be10c3266e82576dad676fa815a602e9

PODFILE CHECKSUM: 62618887f8155abc1ed3348d9b676cf6915137e2

COCOAPODS: 1.5.3
COCOAPODS: 1.5.0

0 comments on commit 0cae4f6

Please sign in to comment.