Skip to content

Commit

Permalink
[Documentation] Update Inversion Docs (TextureGroup#647)
Browse files Browse the repository at this point in the history
* Update docs

append inversion example about swift language

* apply github comment
  • Loading branch information
GeekTree0101 authored and bernieperez committed Apr 25, 2018
1 parent 2d78a63 commit 92d0baa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/_docs/inversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ When this is enabled, developers only have to take one more step to have full in
self.tableNode.view.scrollIndicatorInsets = UIEdgeInsetsMake(0, 0, inset, 0);
</pre>

<pre lang="swift" class = "swiftCode hidden">

<pre lang="swift" class = "swiftCode">
let inset = self.topBarsHeight
self.tableNode.view.contentInset = UIEdgeInsets(top: 0.0, left: 0.0, bottom: inset, right: 0.0)
self.tableNode.view.scrollIndicatorInsets = UIEdgeInsets(top: 0.0, left: 0.0, bottom: inset, right: 0.0)
</pre>
</div>
</div>
Expand Down

0 comments on commit 92d0baa

Please sign in to comment.