Skip to content

Commit c1ba117

Browse files
author
Luc Dion
committed
Update version + changeling
1 parent e5b0ae4 commit c1ba117

File tree

2 files changed

+36
-13
lines changed

2 files changed

+36
-13
lines changed

CHANGELOG.md

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,38 @@
77

88
# Change Log
99

10-
## [1.7.4](https://github.com/layoutBox/FlexLayout/releases/tag/1.7.4)
10+
## [1.7.5](https://github.com/mirego/PinLayout/releases/tag/1.7.5)
11+
Released on 2018-06-05
12+
13+
### Add `wrapContent()` methods that adjust view's width & height to wrap all its subviews
14+
15+
The following methods are useful to adjust view's width and/or height to wrap all its subviews. These methods also adjust subviews position to create a tight wrap.
16+
17+
**Methods:**
18+
19+
* **`wrapContent()`**
20+
**`wrapContent(padding: CGFloat)`**
21+
**`wrapContent(padding: UIEdgeInsets)`**
22+
Adjust the view's width and height to wrap all its subviews. The method also adjusts subviews position to create a tight wrap. It is also possible to specify an optional padding around all subviews.
23+
* **`wrapContent(:WrapType)`**
24+
**`wrapContent(:WrapType, padding: CGFloat)`**
25+
**`wrapContent(:WrapType, padding: UIEdgeInsets)`**
26+
Adjust the view's width AND/OR height to wrap all its subviews. WrapType values are `.horizontally`/`.vertically`/`.all` It is also possible to specify an optional padding around all subviews.
27+
28+
See [documentation](https://github.com/mirego/PinLayout#wrapContent) for more information
29+
30+
Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#141](https://github.com/mirego/PinLayout/pull/141)
31+
32+
33+
## [1.7.4](https://github.com/mirego/PinLayout/releases/tag/1.7.4)
1134
Released on 2018-05-26
1235

1336
### Objective-C support for macOS and tvOS
1437
Add the support of Objective-C to macOS and tvOS.
1538

1639
Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#138](https://github.com/mirego/PinLayout/pull/138)
1740

18-
## [1.7.3](https://github.com/layoutBox/FlexLayout/releases/tag/1.7.3)
41+
## [1.7.3](https://github.com/mirego/PinLayout/releases/tag/1.7.3)
1942
Released on 2018-04-25
2043

2144
### Add few missing Objective-C Interface properties and methods
@@ -29,7 +52,7 @@ These methods and properties are now accessible from Objective-C:
2952
Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#135](https://github.com/mirego/PinLayout/pull/135)
3053

3154

32-
## [1.7.2](https://github.com/layoutBox/FlexLayout/releases/tag/1.7.2)
55+
## [1.7.2](https://github.com/mirego/PinLayout/releases/tag/1.7.2)
3356
Released on 2018-04-23
3457

3558
### Fine tune UIView.pin.safeArea support for iOS 8 and "New Relic" framework
@@ -43,7 +66,7 @@ Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#134](https://g
4366

4467

4568

46-
## [1.7.0](https://github.com/layoutBox/FlexLayout/releases/tag/1.7.0)
69+
## [1.7.0](https://github.com/mirego/PinLayout/releases/tag/1.7.0)
4770
Released on 2018-04-20
4871

4972
### Add macOS support
@@ -68,7 +91,7 @@ Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#131](https://g
6891
### PinLayout now use MIT license
6992
The PinLayout license has been changed from **BSD 3-clause "New"** to **MIT License**.
7093

71-
## [1.6.0](https://github.com/layoutBox/FlexLayout/releases/tag/1.6.0)
94+
## [1.6.0](https://github.com/mirego/PinLayout/releases/tag/1.6.0)
7295
Released on 2018-03-22
7396

7497
### UIView.pin.safeArea
@@ -109,7 +132,7 @@ Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#125](https://g
109132

110133
Added by [vandyshev](https://github.com/vandyshev) in Pull Request [#126](https://github.com/mirego/PinLayout/pull/126)
111134

112-
## [1.5.9](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.9)
135+
## [1.5.9](https://github.com/mirego/PinLayout/releases/tag/1.5.9)
113136
Released on 2018-02-18
114137

115138
#### **`UIView.pin`** versus **`UIView.pinFrame`**
@@ -124,13 +147,13 @@ See https://github.com/mirego/PinLayout#uiviews-transforms for more informations
124147
Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#122](https://github.com/mirego/PinLayout/pull/122)
125148

126149

127-
## [1.5.8](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.8)
150+
## [1.5.8](https://github.com/mirego/PinLayout/releases/tag/1.5.8)
128151
Released on 2018-01-20
129152

130153
* Handle layout relative to a view with a transform and/or a modified anchorPoint.
131154
Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#116](https://github.com/mirego/PinLayout/pull/116)
132155

133-
## [1.5.7](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.7)
156+
## [1.5.7](https://github.com/mirego/PinLayout/releases/tag/1.5.7)
134157
Released on 2018-01-19
135158

136159
* Fix an issue that was affecting UIScrollViews. PinLayout now set only the bounds's size and keep the origin.
@@ -139,7 +162,7 @@ Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#115](https://g
139162
* Handle correctly view's `layer.anchorPoint`. PinLayout now update correctly the view position when the view's layer.anchorPoint has been modified, i.e. when it is not its default value (0.5, 0.5).
140163
Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#114](https://github.com/mirego/PinLayout/pull/114)
141164

142-
## [1.5.5](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.5)
165+
## [1.5.5](https://github.com/mirego/PinLayout/releases/tag/1.5.5)
143166
Released on 2018-01-12
144167

145168
Add methods:
@@ -157,21 +180,21 @@ The value specifies the ** top and bottom edges** on its superview's correspondi
157180
Similar to calling `view.top(value).bottom(value)`.
158181
* Added by [Olivier Pineau](https://github.com/OlivierPineau) in Pull Request [#111](https://github.com/mirego/PinLayout/pull/111)
159182

160-
## [1.5.4](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.4)
183+
## [1.5.4](https://github.com/mirego/PinLayout/releases/tag/1.5.4)
161184
Released on 2017-12-28
162185

163186
* PinLayout now handle correctly more situations with view with transforms.
164187
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#110](https://github.com/mirego/PinLayout/pull/110)
165188

166189

167-
## [1.5.3](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.3)
190+
## [1.5.3](https://github.com/mirego/PinLayout/releases/tag/1.5.3)
168191
Released on 2017-12-28
169192

170193
* PinLayout now handle correctly parents (superviews) with transforms.
171194
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#108](https://github.com/mirego/PinLayout/pull/108)
172195

173196

174-
## [1.5.2](https://github.com/layoutBox/FlexLayout/releases/tag/1.5.2)
197+
## [1.5.2](https://github.com/mirego/PinLayout/releases/tag/1.5.2)
175198
Released on 2017-12-22
176199

177200
* POSSIBLE BREAKING CHANGE: PinLayout now keeps UIView's transform (scale, rotation, ...)

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 |spec|
1010
spec.name = "PinLayout"
11-
spec.version = "1.7.4"
11+
spec.version = "1.7.5"
1212
spec.summary = "Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. [iOS/macOS/tvOS]"
1313
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]"
1414
spec.homepage = "https://mirego.github.io/PinLayout/"

0 commit comments

Comments
 (0)