Skip to content

Commit ef34d72

Browse files
author
Luc Dion
committed
Update version to 1.5.1
1 parent af4905a commit ef34d72

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@
77

88
# Change Log
99

10+
## [1.5.1](https://github.com/mirego/PinLayout/releases/tag/1.5.1)
11+
#### Change
12+
13+
* ##### Add `layout()` method to support Xcode playgrounds
14+
PinLayout layouts views immediately after the line containing `.pin` has been fully executed, thanks to ARC (Automatic Reference Counting) this works perfectly on iOS/tvOS/macOS simulators and devices. But in Xcode Playgrounds, ARC doesn't work as expected, object references are kept much longer. This is a well-documented issue. The impact of this problem is that PinLayout doesn't layout views at the time and in the order required. To handle this situation in playgrounds it is possible to call the `layout()` method to complete the layout.
15+
16+
[See PinLayout in Xcode Playgrounds documentation for more information](https://github.com/mirego/PinLayout#playgrounds)
17+
18+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#101](https://github.com/mirego/PinLayout/pull/101)
19+
20+
1021
## [1.5.0](https://github.com/mirego/PinLayout/releases/tag/1.5.0)
1122
### New method `sizeToFit(:FitType)` & `fitSize()` is now deprecated
1223

13-
Changes:
24+
#### Changes
1425

1526
* BREAKING CHANGE: **`fitSize()`** is now deprecated. The new `sizeToFit(:FitType)` should be used instead.
1627

@@ -37,6 +48,8 @@ Changes:
3748
3849
* **`.heightFlexible`**: Similar to `.height`, except that PinLayout won't constrain the resulting height to match the reference height. The resulting height may be smaller of bigger depending on the view's sizeThatFits(..) method result.
3950

51+
* Added by [Luc Dion](https://github.com/lucdion) in Pull Request [#103](https://github.com/mirego/PinLayout/pull/103)
52+
4053
## [1.4.3](https://github.com/mirego/PinLayout/releases/tag/1.4.1)
4154
Fix Carthage support
4255

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.5.0"
11+
s.version = "1.5.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)