From 365a6f3ba86cecdfdb4d360daa2b0812f165c51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olcay=20Erta=C5=9F?= Date: Mon, 9 Oct 2017 16:50:07 +0300 Subject: [PATCH] Update layout2-layoutspec-types.md Objective-C code sample was still showing old syntax: spacer.flexGrow = true; I have updated to new one: spacer.style.flexGrow = true; --- docs/_docs/layout2-layoutspec-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_docs/layout2-layoutspec-types.md b/docs/_docs/layout2-layoutspec-types.md index e816ab3ca..42fad5a9b 100755 --- a/docs/_docs/layout2-layoutspec-types.md +++ b/docs/_docs/layout2-layoutspec-types.md @@ -452,7 +452,7 @@ Another use of `ASLayoutSpec` is to be used as a spacer in a `ASStackLayoutSpec` ... // ASLayoutSpec as spacer ASLayoutSpec *spacer = [[ASLayoutSpec alloc] init]; - spacer.flexGrow = true; + spacer.style.flexGrow = true; stack.children = @[imageNode, spacer, textNode]; ...