From caf6c49482be71c24640e559e73ddd5810c79cfa Mon Sep 17 00:00:00 2001 From: djblake Date: Tue, 25 Apr 2017 01:40:08 +0100 Subject: [PATCH] Missing a word Missing `[ASInsetLayoutSpec` from ASInsetLayoutSpec creation line. --- 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 0c9be6b2d..e816ab3ca 100755 --- a/docs/_docs/layout2-layoutspec-types.md +++ b/docs/_docs/layout2-layoutspec-types.md @@ -154,7 +154,7 @@ If you set `INFINITY` as a value in the `UIEdgeInsets`, the inset spec will just { ... UIEdgeInsets *insets = UIEdgeInsetsMake(10, 10, 10, 10); - ASInsetLayoutSpec *headerWithInset = insetLayoutSpecWithInsets:insets child:textNode]; + ASInsetLayoutSpec *headerWithInset = [ASInsetLayoutSpec insetLayoutSpecWithInsets:insets child:textNode]; ... }