You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PinLayout.podspec
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
Pod::Spec.newdo |spec|
10
10
spec.name="PinLayout"
11
-
spec.version="1.7.11"
11
+
spec.version="1.7.12"
12
12
spec.summary="Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]"
13
13
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/CALayer]"
Copy file name to clipboardExpand all lines: README.md
+23-7Lines changed: 23 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ This example shows how easily PinLayout can adjust its layout based on the view'
162
162
* Full control: You're in the middle of the layout process, no magic black box.
163
163
* Layout one view at a time. Make it simple to code and debug.
164
164
* Concise syntax. Layout most views using a single line.
165
-
*[See the complete list here....](docs/PinLayout_principles.md)
165
+
*[**See the complete list here....**](docs/PinLayout_principles.md)
166
166
167
167
<aname="performance"></a>
168
168
# PinLayout's Performance
@@ -171,7 +171,7 @@ PinLayout's performance has been measured using the [Layout Framework Benchmark]
171
171
172
172
As you can see in the following chart, PinLayout are faster or equal to manual layouting, and **between 8x and 12x faster than auto layout**, and this for all types of iPhone (5S/6/6S/7/8/X)
173
173
174
-
[See here for more details, results and explanation of the benchmark](docs/Benchmark.md).
174
+
#### [See here for more details, results and explanation of the benchmark](docs/Benchmark.md).
175
175
176
176
<palign="center">
177
177
<a href="docs/Benchmark.md">
@@ -194,7 +194,7 @@ PinLayout support macOS 10.9+.
194
194
195
195
### Right to left languages (RTL) support
196
196
PinLayout supports left-to-right (LTR) and right-to-left (RTL) languages.
197
-
[See here for more details](docs/rtl_support.md).
197
+
#### [See here for more details](docs/rtl_support.md).
198
198
199
199
<br/>
200
200
@@ -1488,7 +1488,7 @@ Warnings can be disabled also in debug mode by setting the boolean Pin.logWarnin
1488
1488
1489
1489
PinLayout can easily animates Views. Multiple strategies can be used to animate layout using PinLayout.
1490
1490
1491
-
[See the section Animations using PinLayout for more details](docs/animations.md)
1491
+
#### [See the section Animations using PinLayout for more details](docs/animations.md)
1492
1492
1493
1493
The following animation example is available in the [Examples App](#examples_app).
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 and have a little impact on the PinLayout behaviour.
1645
1661
1646
-
[See here for more details about using PinLayout in Xcode playgrounds](docs/xcode_playground.md)
1662
+
#### [See here for more details about using PinLayout in Xcode playgrounds](docs/xcode_playground.md)
1647
1663
1648
1664
<br>
1649
1665
1650
1666
<aname="objective_c_interface"></a>
1651
1667
## PinLayout using Objective-C
1652
1668
PinLayout also expose an Objective-C interface slightly different than the Swift interface.
1653
1669
1654
-
[See here for more details](docs/objective_c.md)
1670
+
#### [See here for more details](docs/objective_c.md)
Example showing how PinLayout can be used to adjust the layout depending of the space available.
79
+
80
+
In this example the UISegmentedControl is shown below its label if the available width is smaller than 500 pixels, or on the same line as the label if the width is wider.
0 commit comments