Skip to content

Commit d5236b2

Browse files
committed
Update README
1 parent d4f5ce5 commit d5236b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Writing Auto Layout code from scratch isn't easy. PureLayout provides a fully ca
99
1. [Setup](#setup)
1010
1. [API Cheat Sheet](#api-cheat-sheet)
1111
1. [Usage](#usage)
12+
* [Sample Code](#sample-code-swift)
13+
* [Example Apps](#example-apps)
1214
1. [PureLayout vs. the rest](#purelayout-vs-the-rest)
1315
1. [Problems, Suggestions, Pull Requests?](#problems-suggestions-pull-requests)
1416

@@ -160,7 +162,7 @@ textContentView.autoPinEdgesToSuperviewEdgesWithInsets(UIEdgeInsets(top: 20.0, l
160162
PureLayout always returns the constraints it creates so you have full control:
161163

162164
```swift
163-
let constraint = floatingStatusView.autoPinToTopLayoutGuideOfViewController(self, withInset: 20.0)
165+
let constraint = skinnyView.autoMatchDimension(.Height, toDimension: .Width, ofView: tallView)
164166
```
165167

166168
PureLayout supports all Auto Layout features including inequalities, priorities, layout margins, identifiers, and much more. It's a comprehensive, developer-friendly way to use Auto Layout.

0 commit comments

Comments
 (0)