Skip to content

Commit 5c6fd33

Browse files
Luc DionLuc Dion
authored andcommitted
Update doc
1 parent 92785c0 commit 5c6fd33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ This example layout an image, a UISegmentedControl and a label.
110110

111111
```javascript
112112
override func layoutSubviews() {
113-
super.layoutSubviews()
113+
super.layoutSubviews()
114114

115-
logo.pin.topLeft().size(100).margin(74, 10, 10)
116-
segmented.pin.right(of: logo, aligned: .top).right().marginHorizontal(20)
117-
textLabel.pin.below(of: segmented, aligned: .left).width(of: segmented).pinEdges().marginTop(10).sizeToFit()
115+
logo.pin.topLeft().size(100).margin(74, 10, 10)
116+
segmented.pin.right(of: logo, aligned: .top).right().marginHorizontal(20)
117+
textLabel.pin.below(of: segmented, aligned: .left).width(of: segmented).pinEdges().marginTop(10).sizeToFit()
118118
}
119119
```
120120

0 commit comments

Comments
 (0)