|
7 | 7 |
|
8 | 8 | # Change Log |
9 | 9 |
|
| 10 | +## [1.2.0](https://github.com/mirego/PinLayout/releases/tag/1.2.0) |
| 11 | +Released on 2017-08-18. |
| 12 | + |
| 13 | +#### Change |
| 14 | +* **Breaking change related to the following anchor's name**. The change makes these anchor's name more standard: |
| 15 | + * **UIView.anchors.leftCenter** has been renamed UIView.anchors.centerLeft |
| 16 | + * **UIView.anchors.rightCenter** has been renamed UIView.anchors.centerRight |
| 17 | + |
| 18 | +* **Add left to right (LTR) and right to left (RTL) language support**. |
| 19 | +Additions: |
| 20 | + * Pin.layoutDirection(_ direction: LayoutDirection) |
| 21 | + * start(), start(_ value: CGFloat), start(_ percent: Percent) |
| 22 | + * end(), end(_ value: CGFloat), end(_ percent: Percent) |
| 23 | + * UIView.edge.start |
| 24 | + * UIView.edge.end |
| 25 | + * UIView.anchor.topStart |
| 26 | + * UIView.anchor.topEnd |
| 27 | + * UIView.anchor.centerStart |
| 28 | + * UIView.anchor.centerEnd |
| 29 | + * UIView.anchor.bottomStart |
| 30 | + * UIView.anchor.bottomEnd |
| 31 | + * topStart(to anchor: Anchor), topStart() |
| 32 | + * topEnd(to anchor: Anchor), topEnd() |
| 33 | + * centerStart(to anchor: Anchor), centerStart() |
| 34 | + * centerEnd(to anchor: Anchor), centerEnd() |
| 35 | + * bottomStart(to anchor: Anchor), bottomStart() |
| 36 | + * bottomEnd(to anchor: Anchor), bottomEnd() |
| 37 | + * before(of: UIView), before(of: [UIView]) |
| 38 | + * before(of: UIView, aligned: VerticalAlign), before(of: [UIView], aligned: VerticalAlign) |
| 39 | + * after(of: UIView), after(of: [UIView]) |
| 40 | + * after(of: UIView, aligned: VerticalAlign), after(of: [UIView], aligned: VerticalAlign) |
| 41 | + * marginStart(_ value: CGFloat) |
| 42 | + * marginEnd(_ value: CGFloat) |
| 43 | + * HorizontalAlign.start |
| 44 | + * HorizontalAlign.end |
| 45 | + * Added by [Luc Dion](https://github.com/luc-dion) in Pull Request [#56](https://github.com/mirego/PinLayout/pull/56) |
| 46 | + |
| 47 | + |
| 48 | + |
10 | 49 | ## [1.1.5](https://github.com/mirego/PinLayout/releases/tag/1.1.5) |
11 | 50 | Released on 2017-07-14. |
12 | 51 |
|
13 | 52 | #### Change |
14 | 53 | * Fix missing UIKit import. The problem was occuring while using Swift Package Manager. |
15 | | - * Added by [Luc Dion](https://github.com/luc-dion) in Pull Request [#56](https://github.com/mirego/PinLayout/pull/56) |
| 54 | + * Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#67](https://github.com/mirego/PinLayout/pull/67) |
16 | 55 |
|
17 | 56 |
|
18 | 57 | ## [1.1.4](https://github.com/mirego/PinLayout/releases/tag/1.1.4) |
|
0 commit comments