7
7
8
8
# Change Log
9
9
10
+ ## [ 1.3.9] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.9 )
11
+ Released on 2018-05-31
12
+
13
+ Removed alignItems ` .baseline ` mode which is not currently supported by Yoga. So we remove it from the list of supported mode until Yoga support it.
14
+
15
+ * Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #94 ] ( https://github.com/layoutBox/FlexLayout/pull/94 )
16
+
17
+
10
18
## [ 1.3.8] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.8 )
11
19
Released on 2018-05-09
12
20
13
- * Add ` display(:Display) ` method to set the Yoga's display property.
14
- * Added by [cielpy](https://github.com/cielpy) in Pull Request [#87](https://github.com/layoutBox/FlexLayout/pull/87)
21
+ Add ` display(:Display) ` method to set the Yoga's display property.
22
+
23
+ * Added by [ cielpy] ( https://github.com/cielpy ) in Pull Request [ #87 ] ( https://github.com/layoutBox/FlexLayout/pull/87 )
15
24
16
25
## [ 1.3.7] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.7 )
17
26
Released on 2018-05-01
18
27
19
- * Upgrade to Swift 4.1
20
- * Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#85](https://github.com/layoutBox/FlexLayout/pull/85)
28
+ Upgrade to Swift 4.1
29
+
30
+ * Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #85 ] ( https://github.com/layoutBox/FlexLayout/pull/85 )
21
31
22
32
## [ 1.3.6] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.6 )
23
33
Released on 2018-04-16
24
34
25
- * Update the Podspec minimum iOS platform to 8.0
26
- * Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#78](https://github.com/layoutBox/FlexLayout/pull/78)
35
+ Update the Podspec minimum iOS platform to 8.0
36
+
37
+ * Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #78 ] ( https://github.com/layoutBox/FlexLayout/pull/78 )
27
38
28
39
## [ 1.3.5] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.5 )
29
40
Released on 2018-03-06
30
41
31
- * Add supports for ` spaceEvenly ` justifyContent mode
32
- * Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#66](https://github.com/layoutBox/FlexLayout/pull/66)
42
+ Add supports for ` spaceEvenly ` justifyContent mode
43
+
44
+ * Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #66 ] ( https://github.com/layoutBox/FlexLayout/pull/66 )
33
45
34
- * Flex view's getter is public once again.
35
- * Added by [Alexander Guschin](https://github.com/Rag0n) in Pull Request [#68](https://github.com/layoutBox/FlexLayout/pull/68)
46
+ Flex view's getter is public once again.
47
+
48
+ * Added by [ Alexander Guschin] ( https://github.com/Rag0n ) in Pull Request [ #68 ] ( https://github.com/layoutBox/FlexLayout/pull/68 )
36
49
37
50
## [ 1.3.4] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.3 )
38
51
Released on 2018-03-05
39
52
40
- * Fix retain cycle
41
- * Now Flex's hosting view is kept using a weak reference.
42
- * Fixed by [ Alexey Zinchenko] ( https://github.com/zintus ) in Pull Request [ #64 ] ( https://github.com/layoutBox/FlexLayout/pull/64 )
53
+ Fix retain cycle
54
+
55
+ * Now Flex's hosting view is kept using a weak reference.
56
+ * Fixed by [ Alexey Zinchenko] ( https://github.com/zintus ) in Pull Request [ #64 ] ( https://github.com/layoutBox/FlexLayout/pull/64 )
43
57
44
58
## [ 1.3.3] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.3 )
45
59
Released on 2018-02-28
46
60
47
- * Fix Yoga's rounding issues
48
- * Integer truncation of sizes calculated by sizeThatFits:, and utility functions. Introduced by Obj-C -> Obj-C++ conversion in previous PR
49
- * Low coordinate rounding threshold, which results in flooring apparently valid values. Layout becomes very wrong with absolute coordinate values larger than 100 and having pointScaleFactor set to 3.
50
- * Fixed by [ Alexey Zinchenko] ( https://github.com/zintus ) in Pull Request [ #63 ] ( https://github.com/layoutBox/FlexLayout/pull/63 )
61
+ Fix Yoga's rounding issues
62
+
63
+ * Integer truncation of sizes calculated by sizeThatFits:, and utility functions. Introduced by Obj-C -> Obj-C++ conversion in previous PR
64
+ * Low coordinate rounding threshold, which results in flooring apparently valid values. Layout becomes very wrong with absolute coordinate values larger than 100 and having pointScaleFactor set to 3.
65
+ * Fixed by [ Alexey Zinchenko] ( https://github.com/zintus ) in Pull Request [ #63 ] ( https://github.com/layoutBox/FlexLayout/pull/63 )
51
66
52
67
## [ 1.3.2] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.2 )
53
68
Released on 2018-02-27
54
69
55
- * Update Yoga core to latest master
56
- * Yoga core updated to facebook/yoga@295d111
57
- * Yoga core tests and their buck configuration added, see core-tests folder
58
- * Add buck tests to CI config
59
- * Added by [ Alexey Zinchenko] ( https://github.com/zintus ) in Pull Request [ #62 ] ( https://github.com/layoutBox/FlexLayout/pull/62 )
70
+ Update Yoga core to latest master
71
+
72
+ * Yoga core updated to facebook/yoga@295d111
73
+ * Yoga core tests and their buck configuration added, see core-tests folder
74
+ * Add buck tests to CI config
75
+ * Added by [ Alexey Zinchenko] ( https://github.com/zintus ) in Pull Request [ #62 ] ( https://github.com/layoutBox/FlexLayout/pull/62 )
60
76
61
77
62
78
## [ 1.3.1] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.3.1 )
63
79
Released on 2018-02-23
64
80
65
- * Integrates Yoga's sources into FlexLayout
66
-
67
- * Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#61](https://github.com/layoutBox/FlexLayout/pull/61)
81
+ Integrates Yoga's sources into FlexLayout
68
82
83
+ * Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #61 ] ( https://github.com/layoutBox/FlexLayout/pull/61 )
69
84
70
85
71
86
## [ 1.2.2] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.2.2 )
72
87
Released on 2017-12-20
73
88
74
- * Add margins methods taking percentage parameters:
89
+ Add margins methods taking percentage parameters:
75
90
76
- * **`marginTop(_ percent: FPercent)`**
91
+ * ** ` marginTop(_ percent: FPercent) ` **
77
92
Top margin specify the offset the top edge of the item should have from it’s closest sibling (item) or parent (container).
78
- * **`marginLeft(_ percent: FPercent)`**
93
+ * ** ` marginLeft(_ percent: FPercent) ` **
79
94
Left margin specify the offset the left edge of the item should have from it’s closest sibling (item) or parent (container).
80
- * **`marginBottom(_ percent: FPercent)`**
95
+ * ** ` marginBottom(_ percent: FPercent) ` **
81
96
Bottom margin specify the offset the bottom edge of the item should have from it’s closest sibling (item) or parent (container)
82
- * **`marginRight(_ percent: FPercent)`**
97
+ * ** ` marginRight(_ percent: FPercent) ` **
83
98
Right margin specify the offset the right edge of the item should have from it’s closest sibling (item) or parent (container).
84
- * **`marginStart(_ percent: FPercent)`**
99
+ * ** ` marginStart(_ percent: FPercent) ` **
85
100
Set the start margin. In LTR direction, start margin specify the **left** margin. In RTL direction, start margin specify the **right** margin.
86
- * **`marginEnd(_ percent: FPercent)`**
101
+ * ** ` marginEnd(_ percent: FPercent) ` **
87
102
Set the end margin. In LTR direction, end margin specify the **right** margin. In RTL direction, end margin specify the **left** margin.
88
- * **`marginHorizontal(_ percent: FPercent)`**
103
+ * ** ` marginHorizontal(_ percent: FPercent) ` **
89
104
Set the left, right, start and end margins to the specified value.
90
- * **`marginVertical(_ percent: FPercent)`**
105
+ * ** ` marginVertical(_ percent: FPercent) ` **
91
106
Set the top and bottom margins to the specified value.
92
107
93
108
###### Usage examples:
@@ -104,47 +119,48 @@ Released on 2017-12-20
104
119
## [ 1.2.1] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.2.1 )
105
120
Released on 2017-11-23
106
121
107
- * Update Carthage support
122
+ Update Carthage support
108
123
109
124
110
125
## [ 1.2.0] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.2.0 )
111
126
Released on 2017-11-23
112
127
113
- * Many properties can be reset to their initial state. Specifying ` nil ` when calling these properties reset their value:
114
- * `width(nil)`
115
- * `height(nil)`
116
- * `size(nil)`
117
- * `minWidth(nil)`
118
- * `maxWidth(nil)`
119
- * `minHeight(nil)`
120
- * `maxHeight(nil)`
121
- * `aspectRatio(nil)`
128
+ Many properties can be reset to their initial state. Specifying ` nil ` when calling these properties reset their value:
129
+
130
+ * ` width(nil) `
131
+ * ` height(nil) `
132
+ * ` size(nil) `
133
+ * ` minWidth(nil) `
134
+ * ` maxWidth(nil) `
135
+ * ` minHeight(nil) `
136
+ * ` maxHeight(nil) `
137
+ * ` aspectRatio(nil) `
122
138
123
- * FlexLayout now integrates YogaKit source code, this was needed to improve efficiently the iOS's yoga interface.
139
+ FlexLayout now integrates YogaKit source code, this was needed to improve efficiently the iOS's yoga interface.
124
140
125
141
* Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #40 ] ( https://github.com/layoutBox/FlexLayout/pull/40 )
126
142
127
143
128
144
## [ 1.1.8] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.1.8 )
129
145
Released on 2017-11-23
130
146
131
- * AspectRatio can now be reset. Simply call ` aspectRatio(nil) ` .
147
+ AspectRatio can now be reset. Simply call ` aspectRatio(nil) ` .
132
148
133
149
* Added by [ Luc Dion] ( https://github.com/lucdion ) in Pull Request [ #39 ] ( https://github.com/layoutBox/FlexLayout/pull/39 )
134
150
135
151
## [ 1.1.4] ( https://github.com/layoutBox/FlexLayout/releases/tag/1.1.4 )
136
152
Released on 2017-10-31
137
153
138
- * Add new margin methods:
139
- * ` margin(_ insets: UIEdgeInsets) ` : Set all margins using UIEdgeInsets.
154
+ Add new margin methods:
155
+ * ` margin(_ insets: UIEdgeInsets) ` : Set all margins using UIEdgeInsets.
140
156
This method is particularly useful to set all margins using iOS 11 ` UIView.safeAreaInsets `
141
- * ` margin(_ directionalInsets: NSDirectionalEdgeInsets) ` : Set margins using NSDirectionalEdgeInsets.
157
+ * ` margin(_ directionalInsets: NSDirectionalEdgeInsets) ` : Set margins using NSDirectionalEdgeInsets.
142
158
This method is particularly to set all margins using iOS 11 ` UIView.directionalLayoutMargins `
143
159
144
- * Add new padding methods:
145
- * ` padding(_ insets: UIEdgeInsets) ` : Set all paddings using UIEdgeInsets.
160
+ Add new padding methods:
161
+ * ` padding(_ insets: UIEdgeInsets) ` : Set all paddings using UIEdgeInsets.
146
162
This method is particularly useful using iOS 11 ` UIView.safeAreaInsets `
147
- * ` padding(_ directionalInsets: NSDirectionalEdgeInsets) ` : Set paddings using NSDirectionalEdgeInsets.
163
+ * ` padding(_ directionalInsets: NSDirectionalEdgeInsets) ` : Set paddings using NSDirectionalEdgeInsets.
148
164
This method is particularly useful to set all paddings using iOS 11 ` UIView.directionalLayoutMargins `
149
165
150
166
* Update all examples to support iPhone X landscape orientation.
0 commit comments