From d5b6fb7da4c096c14d59042fee3853df2e82e700 Mon Sep 17 00:00:00 2001 From: Nadine Salter Date: Fri, 10 Oct 2014 12:16:45 -0700 Subject: [PATCH] Tweak docs. --- docs/guide/1-introduction.md | 10 +++++----- docs/index.md | 11 ++++++++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/guide/1-introduction.md b/docs/guide/1-introduction.md index fb57d1eed5..d92b2d76ab 100644 --- a/docs/guide/1-introduction.md +++ b/docs/guide/1-introduction.md @@ -128,11 +128,11 @@ Our view controller will look something like this: ``` This works as you would expect. Unfortunately, this button is only 14½ -points tall — nowhere the standard 44×44 minimum tap target size -— and it's very difficult to tap. We could solve this by subclassing the -text node and overriding `-hitTest:withEvent:`. We could even force the text -view to have a minimum height during layout. But wouldn't it be nice if there -were a more elegant way? +points tall — nowhere near the standard 44×44 minimum tap target +size — and it's very difficult to tap. We could solve this by +subclassing the text node and overriding `-hitTest:withEvent:`. We could even +force the text view to have a minimum height during layout. But wouldn't it be +nice if there were a more elegant way? ```objective-c // size all the things diff --git a/docs/index.md b/docs/index.md index 85f2bdbc7b..f3b2ff3ff6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -30,8 +30,13 @@ if you're using Swift: ``` AsyncDisplayKit Nodes are a thread-safe abstraction layer over UIViews and -CALayers. You can construct entire node hierarchies in parallel, or -instantiate and size a single node on a background thread: +CALayers: + +![logo]({{ site.baseurl }}/assets/node-view-layer.png) + +You can construct entire node hierarchies in parallel, or instantiate and size +a single node on a background thread — for example, you could do +something like this in a UIViewController: ```objective-c dispatch_async(_backgroundQueue, ^{ @@ -60,6 +65,6 @@ blocking the main thread. ### Learn more * Read the [Getting Started guide]({{ site.baseurl }}/guide) -* Check out [sample projects](https://github.com/facebook/AsyncDisplayKit/tree/master/examples) +* Get the [sample projects](https://github.com/facebook/AsyncDisplayKit/tree/master/examples) * Browse the [API reference]({{ site.baseurl }}/appledoc) * Watch the [NSLondon talk](http://www.youtube.com/watch?v=h4QDbgB7RLo)