Skip to content

Commit

Permalink
Update layer-backing.md (TextureGroup#678)
Browse files Browse the repository at this point in the history
Reflect Texture 2.5.1 API change
  • Loading branch information
WymzeeLabs authored and bernieperez committed Apr 25, 2018
1 parent 10972d5 commit 02b084e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_docs/layer-backing.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ With all Texture nodes, converting an entire subtree from views to layers is as
<span class="language-toggle"><a data-lang="swift" class="swiftButton">Swift</a><a data-lang="objective-c" class = "active objcButton">Objective-C</a></span>
<div class = "code">
<pre lang="objc" class="objcCode">
rootNode.layerBacked = YES;
rootNode.isLayerBacked = YES;
</pre>
<pre lang="swift" class = "swiftCode hidden">
rootNode.layerBacked = true
rootNode.isLayerBacked = true
</pre>
</div>
</div>
Expand Down

0 comments on commit 02b084e

Please sign in to comment.