Skip to content

Commit 455413b

Browse files
author
Luc Dion
committed
Update version to 1.4.1
1 parent 1b0966b commit 455413b

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

CHANGELOG.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,28 @@
77

88
# Change Log
99

10+
## [1.4.1](https://github.com/mirego/PinLayout/releases/tag/1.4.1)
11+
#### Change
12+
* Add new method `margin(_ directionalInsets: NSDirectionalEdgeInsets)`
13+
14+
Set margins using NSDirectionalEdgeInsets.
15+
This method is particularly to set all margins using iOS 11 `UIView.directionalLayoutMargins`.
16+
17+
Available only on iOS 11 and higher.
18+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#85](https://github.com/mirego/PinLayout/pull/85)
19+
20+
* Update all examples so they support iOS 11 and iPhoneX landscape mode. They use the new UIView.safeAreaInsets property.
21+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#85](https://github.com/mirego/PinLayout/pull/85)
22+
1023
## [1.4.0](https://github.com/mirego/PinLayout/releases/tag/1.4.0)
1124
#### Change
12-
* Add **aspectRatio** methods:
13-
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#84](https://github.com/mirego/PinLayout/pull/84)
25+
* PinLayout now apply correctly margins when hCenter or vCenter have been set
26+
* hCenter: When the Horizontal Center is set, PinLayout now applies the left margin.
27+
* vCenter: When the Vertical Center is set, PinLayout now applies the top margin.
28+
29+
**BREAKING CHANGE**: This may be a breaking change if you are using hCenter(..), vCenter(...), center(...), centerRight(...), centerLeft(...), or any other method using the center position while also using a margin.
30+
31+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#91](https://github.com/mirego/PinLayout/pull/91)
1432

1533

1634
## [1.3.2](https://github.com/mirego/PinLayout/releases/tag/1.3.2)

PinLayout.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "PinLayout"
11-
s.version = "1.4.0"
11+
s.version = "1.4.1"
1212
s.summary = "Fast Swift UIViews layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable."
1313
s.description = "Fast Swift UIViews layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable."
1414

0 commit comments

Comments
 (0)