Skip to content

Commit 0cae4f6

Browse files
author
Luc Dion
committed
Update version and changelog
1 parent 5170a2f commit 0cae4f6

File tree

3 files changed

+39
-7
lines changed

3 files changed

+39
-7
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@
77

88
# Change Log
99

10+
## [1.7.11](https://github.com/layoutBox/PinLayout/releases/tag/1.7.11)
11+
Released on 2018-08-05
12+
13+
#### Method that position multiple edges now accept an `offset` parameter.
14+
The `offset` parameter that specifies the distance from their superview's corresponding edges in pixels.
15+
16+
**New methods:**
17+
18+
* `topLeft(_ offset: CGFloat)`
19+
* `topCenter(_ topOffset: CGFloat)`
20+
* `topRight(_ offset: CGFloat)`
21+
22+
* `centerLeft(_ leftOffset: CGFloat)`
23+
* `center(_ offset: CGFloat)`
24+
* `centerRight(_ rightOffset offset: CGFloat)`
25+
26+
* `bottomLeft(_ offset: CGFloat)`
27+
* `bottomCenter(_ bottomOffset: CGFloat)`
28+
* `bottomRight(_ offset: CGFloat)`
29+
30+
For example, to position a view at the top left corner with a top and left margin of 10 pixels:
31+
32+
```
33+
view.pin.topLeft(10)
34+
```
35+
36+
#### Other change
37+
Cleanup the interface by using default value parameters.
38+
39+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#163](https://github.com/layoutBox/PinLayout/pull/163)
40+
41+
1042
## [1.7.10](https://github.com/layoutBox/PinLayout/releases/tag/1.7.10)
1143
Released on 2018-07-17
1244

PinLayout.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
Pod::Spec.new do |spec|
1010
spec.name = "PinLayout"
11-
spec.version = "1.7.10"
12-
spec.summary = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. [iOS/macOS/tvOS]"
13-
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]"
11+
spec.version = "1.7.11"
12+
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]"
13+
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]"
1414
spec.homepage = "https://github.com/layoutBox/PinLayout"
1515
spec.license = "MIT license"
1616
spec.author = { "Luc Dion" => "[email protected]" }

Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- Nimble (7.0.3)
3-
- PinLayout (1.7.9)
3+
- PinLayout (1.7.11)
44
- Quick (1.2.0)
55
- Reveal-SDK (16)
66
- SwiftLint (0.25.1)
@@ -13,7 +13,7 @@ DEPENDENCIES:
1313
- SwiftLint
1414

1515
SPEC REPOS:
16-
https://github.com/cocoapods/specs.git:
16+
https://github.com/CocoaPods/Specs.git:
1717
- Nimble
1818
- Quick
1919
- Reveal-SDK
@@ -25,11 +25,11 @@ EXTERNAL SOURCES:
2525

2626
SPEC CHECKSUMS:
2727
Nimble: 7f5a9c447a33002645a071bddafbfb24ea70e0ac
28-
PinLayout: 831bd290944681da6e02c2017f25601db55535e9
28+
PinLayout: 90c26ecc9504e35c6569a65d78dc50853d96f08c
2929
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
3030
Reveal-SDK: ed36bdbb3cbf90b94ae5da0dbcb3c7ae6738c51f
3131
SwiftLint: ce933681be10c3266e82576dad676fa815a602e9
3232

3333
PODFILE CHECKSUM: 62618887f8155abc1ed3348d9b676cf6915137e2
3434

35-
COCOAPODS: 1.5.3
35+
COCOAPODS: 1.5.0

0 commit comments

Comments
 (0)