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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,10 @@ Pod::Spec.new do |spec|
11
11
spec.version="1.7.6"
12
12
spec.summary="Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. [iOS/macOS/tvOS]"
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]"
Extremely Fast views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable.
@@ -83,7 +83,7 @@ Extremely Fast views layouting without auto layout. No magic, pure code, full co
**PinLayout** is a companion of **[FlexLayout](https://github.com/layoutBox/FlexLayout)**. They share a similar syntax and method names. FlexLayout is a flexbox implementation. A view can layouts its subviews using PinLayout, FlexLayout, or both! FlexLayout it is particularly useful in situations where you need to layouts many views but don't require the PinLayout's finest control nor complex animations.
89
89
@@ -104,7 +104,7 @@ This example layout an image, a UISegmentedControl, a label and a line separator
104
104
***Separator** is below the UIImageView and the UILabel, i.e. below the tallest one. The separator has a top margin of 10 pixels, left-aligned to the UIImageView and right-aligned to the UISegmentedControl.
* PinLayout expose the `safeAreaInsets` through [`UIView.pin.safeArea`](#safeAreaInsets), this property support not only iOS 11, but is also backward compatible for earlier iOS releases (7/8/9/10). See [safeAreaInsets support](#safeAreaInsets) for more information.
123
123
* PinLayout doesn't use auto layout constraints, it is a framework that manually layout views. For that reason you need to update the layout inside either `UIView.layoutSubviews()` or `UIViewController.viewDidLayoutSubviews()` to handle container size's changes, including device rotation. You'll also need to handle UITraitCollection changes for app's that support multitasking. In the example above PinLayout's commands are inside UIView's `layoutSubviews()` method.
124
-
* This example is available in the [Examples App](#examples_app). See example complete [source code](https://github.com/mirego/PinLayout/blob/master/Example/PinLayoutSample/UI/Examples/Intro/IntroView.swift)
124
+
* This example is available in the [Examples App](#examples_app). See example complete [source code](https://github.com/layoutBox/PinLayout/blob/master/Example/PinLayoutSample/UI/Examples/Intro/IntroView.swift)
125
125
126
126
<br/>
127
127
@@ -131,7 +131,7 @@ This example shows how easily PinLayout can adjust its layout based on the view'
131
131
* If the container's width is smaller than 500 pixels, the label takes the full width and the UISegmentedControl is placed below it.
132
132
* If the container's width is greater or equal to 500 pixels, the UISegmentedControl is at the top-right corner and the label takes the remaining horizontal space.
@@ -146,7 +146,7 @@ This example shows how easily PinLayout can adjust its layout based on the view'
146
146
}
147
147
```
148
148
149
-
:pushpin: This example is available in the [Examples App](#examples_app). See example complete [source code](https://github.com/mirego/PinLayout/blob/master/Example/PinLayoutSample/UI/Examples/AdjustToContainer/Subviews/ChoiceSelectorView.swift)
149
+
:pushpin: This example is available in the [Examples App](#examples_app). See example complete [source code](https://github.com/layoutBox/PinLayout/blob/master/Example/PinLayoutSample/UI/Examples/AdjustToContainer/Subviews/ChoiceSelectorView.swift)
150
150
151
151
152
152
<aname="introduction"></a>
@@ -1132,7 +1132,7 @@ This example layout 4 subviews inside the safeArea. The UINavigationBar and UITa
1132
1132
1133
1133
This example runs perfectly on a iPhone X (iOS 11), but it also runs on any devices with iOS 7, 8, 9 and 10.
1134
1134
1135
-
:pushpin: This example is available in the [Examples App](#examples_app). See example complete [source code](https://github.com/mirego/PinLayout/blob/master/Example/PinLayoutSample/UI/Examples/SafeArea/SafeAreaView.swift)
1135
+
:pushpin: This example is available in the [Examples App](#examples_app). See example complete [source code](https://github.com/layoutBox/PinLayout/blob/master/Example/PinLayoutSample/UI/Examples/SafeArea/SafeAreaView.swift)
1136
1136
1137
1137
1138
1138
<br/>
@@ -1181,16 +1181,16 @@ Here is the initial state:
1181
1181
1182
1182
1183
1183
###### Example:
1184
-
This example shows how a view (`containerView`) with two subviews (`imageView` and `label`), can be adjusted to the size of its subviews and then centered inside its parent.
1184
+
This example shows how a view (`containerView`) that has subviews (`imageView` and `label`) can be adjusted to the size of its subviews and then centered inside its parent.
* Line 1: Position the label below the imageView aligned on its center with a top margin of 4 pixels.
1193
-
* Line 2: Adjust the `containerView`'s size and position its subviews to create a tight wrap around them, and then it center the `containerView` inside its parent (superview).
1193
+
* Line 2: Adjust the `containerView`'s size and position its subviews to create a tight wrap around them with a padding of 10 pixels all around. The `containerView`is also centered inside its parent (superview).
1194
1194
1195
1195
<br/>
1196
1196
@@ -1480,7 +1480,7 @@ Then, run `pod install`.
1480
1480
To integrate PinLayout into your Xcode project using Carthage, specify it in your `Cartfile`:
1481
1481
1482
1482
```
1483
-
github "mirego/PinLayout"
1483
+
github "layoutBox/PinLayout"
1484
1484
```
1485
1485
1486
1486
Then, run `carthage update` to build the framework and drag the built `PinLayout.framework` into your Xcode project.
@@ -1491,7 +1491,7 @@ Once you have your Swift package set up, you only need to add PinLayout as a dep
If you have questions, you can checks already [answered questions here.](https://github.com/mirego/PinLayout/issues?q=is%3Aissue+is%3Aclosed+label%3Aquestion)
1603
+
If you have questions, you can checks already [answered questions here.](https://github.com/layoutBox/PinLayout/issues?q=is%3Aissue+is%3Aclosed+label%3Aquestion)
1604
1604
1605
-
For any **comments**, **ideas**, **suggestions**, **issues**, simply open an [issue](https://github.com/mirego/PinLayout/issues).
1605
+
For any **comments**, **ideas**, **suggestions**, **issues**, simply open an [issue](https://github.com/layoutBox/PinLayout/issues).
1606
1606
1607
1607
If you find PinLayout interesting, thanks to **Star** it. You'll be able to retrieve it easily later.
1608
1608
@@ -1622,7 +1622,7 @@ PinLayout was inspired by other great layout frameworks, including:
1622
1622
<br>
1623
1623
1624
1624
## History
1625
-
PinLayout recent history is available in the [CHANGELOG](CHANGELOG.md) also in [GitHub Releases](https://github.com/mirego/PinLayout/releases).
1625
+
PinLayout recent history is available in the [CHANGELOG](CHANGELOG.md) also in [GitHub Releases](https://github.com/layoutBox/PinLayout/releases).
0 commit comments