Skip to content

Commit b4c8f7c

Browse files
authored
Merge pull request #232 from KostyaKulakov/patch-1
Update README.md (change visible method name)
2 parents f1de5a0 + 4addf1e commit b4c8f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ All PinLayout's relative methods can accept an array of Views (ex: `below(of: [U
548548
You can define your own filter methods, but PinLayout has a filter method called `visible` that can be used to layout a view related to only visible views. This can be really useful when some views may be visible or hidden depending on the situation.
549549

550550
```swift
551-
view.pin.below(of: visibles([ageSwitch, ageField])).horizontally().
551+
view.pin.below(of: visible([ageSwitch, ageField])).horizontally().
552552
```
553553

554554
Note that the **Form** example use this filter method, see [Examples App](#examples_app).

0 commit comments

Comments
 (0)