We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2247f1 commit 5170a2fCopy full SHA for 5170a2f
README.md
@@ -367,6 +367,17 @@ In RTL direction position the vertical center (center.y) and the right edge.
367
In LTR direction position the vertical center (center.y) and the right edge.
368
In RTL direction position the vertical center (center.y) and the left edge.
369
370
+
371
+###### Usage Examples:
372
373
+```swift
374
+ // Position a view at the top left corner with a top and left margin of 10 pixels
375
+ view.pin.topLeft(10)
376
377
+ // Position the 4 edges with a margin of 10 pixels.
378
+ view.pin.topLeft(10).bottomCenter(10)
379
+```
380
381
<br/>
382
383
<a name="relative_edges_layout"></a>
0 commit comments