File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
# Change Log
9
9
10
+ ## [ 1.4.0] ( https://github.com/mirego/PinLayout/releases/tag/1.4.0 )
11
+ #### 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)
14
+
15
+
10
16
## [ 1.3.2] ( https://github.com/mirego/PinLayout/releases/tag/1.3.2 )
11
17
#### Change
12
18
* Add ** aspectRatio** methods:
@@ -33,7 +39,7 @@ This method is particularly useful to set all margins using iOS 11 UIView.safeAr
33
39
34
40
For other types of views, this method as no impact.
35
41
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#84](https://github.com/mirego/PinLayout/pull/84)
36
- *
42
+
37
43
## [ 1.3.1] ( https://github.com/mirego/PinLayout/releases/tag/1.3.1 )
38
44
#### Change
39
45
* Add new margin method ` margin(_ insets: UIEdgeInsets) `
Original file line number Diff line number Diff line change @@ -1068,7 +1068,7 @@ Without `pinEdges()` margins rules would be applied and the view would be moved
1068
1068
![ ] ( docs/pinlayout-margin-pinEdges-01.png )
1069
1069
1070
1070
``` swift
1071
- view.pin .left ().width (percent : 100 ).marginHorizontal (20 )
1071
+ view.pin .left ().width (100 % ).marginHorizontal (20 )
1072
1072
```
1073
1073
1074
1074
@@ -1079,7 +1079,7 @@ With `pinEdges()` the left and right margins are applied even if only the left a
1079
1079
![ ] ( docs/pinlayout-margin-pinEdges-02.png )
1080
1080
1081
1081
``` swift
1082
- view.pin .left ().width (percent : 100 ).pinEdges ().marginHorizontal (20 )
1082
+ view.pin .left ().width (100 % ).pinEdges ().marginHorizontal (20 )
1083
1083
```
1084
1084
1085
1085
<br >
You can’t perform that action at this time.
0 commit comments