mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-12 22:33:59 +08:00
Merge branch 'gh-pages-in-progress' into gh-pages
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
title: Layout Basics
|
||||
layout: docs
|
||||
permalink: /docs/automatic-layout-basics.html
|
||||
next: automatic-layout-containers.html
|
||||
---
|
||||
|
||||
##Box Model Layout
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: Layout Containers
|
||||
layout: docs
|
||||
permalink: /docs/automatic-layout-containers.html
|
||||
next: automatic-layout-examples.html
|
||||
---
|
||||
|
||||
AsyncDisplayKit includes a library of components that can be composed to declaratively specify a layout. The following LayoutSpecs allow you to have multiple children:
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: Layout Debugging
|
||||
layout: docs
|
||||
permalink: /docs/automatic-layout-debugging.html
|
||||
next: layout-options.html
|
||||
---
|
||||
|
||||
##Debugging with ASCII Art
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
title: Layout Examples
|
||||
layout: docs
|
||||
permalink: /docs/automatic-layout-examples.html
|
||||
next: automatic-layout-debugging.html
|
||||
---
|
||||
|
||||
Three examples in increasing order of complexity.
|
||||
#NSSpain Talk Example
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASButtonNode
|
||||
layout: docs
|
||||
permalink: /docs/button-node.html
|
||||
next: text-node.html
|
||||
---
|
||||
|
||||
`ASButtonNode` (a subclass of `ASControlNode`) supports simple buttons, with multiple states for a text label and an image with a few different layout options. Enables layerBacking for subnodes to significantly lighten main thread impact relative to UIButton (though async preparation is the bigger win).
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASControlNode
|
||||
layout: docs
|
||||
permalink: /docs/control-node.html
|
||||
next: button-node.html
|
||||
---
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASDisplayNode
|
||||
layout: docs
|
||||
permalink: /docs/display-node.html
|
||||
next: cell-node.html
|
||||
---
|
||||
|
||||
ASDisplayNode is the main view abstraction over UIView and CALayer. It initializes and owns a UIView in the same way UIViews create and own their own backing CALayers.
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
title: ASEditableTextNode
|
||||
layout: docs
|
||||
permalink: /docs/editable-text-node.html
|
||||
next: image-node.html
|
||||
---
|
||||
|
||||
`ASEditableTextNode` provides a flexible, efficient, and animation-friendly editable text component.
|
||||
|
||||
Features:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: Getting Started
|
||||
layout: docs
|
||||
permalink: /docs/getting-started.html
|
||||
next: philosphy.html
|
||||
next: philosophy.html
|
||||
---
|
||||
|
||||
AsyncDisplayKit's basic unit is the `node`. ASDisplayNode is an abstraction
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASImageNode
|
||||
layout: docs
|
||||
permalink: /docs/image-node.html
|
||||
next: network-image-node.html
|
||||
---
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASMapNode
|
||||
layout: docs
|
||||
permalink: /docs/map-node.html
|
||||
next: video-node.html
|
||||
---
|
||||
|
||||
`ASMapNode` offers completely asynchronous preparation, automatic preloading, and efficient memory handling. Its standard mode is a fully asynchronous snapshot, with liveMap mode loading automatically triggered by any `ASTableView` or `ASCollectionView`; its `.liveMap` mode can be flipped on with ease (even on a background thread) to provide a cached, fully interactive map when necessary.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASNetworkImageNode
|
||||
layout: docs
|
||||
permalink: /docs/network-image-node.html
|
||||
next: map-node.html
|
||||
---
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASScrollNode
|
||||
layout: docs
|
||||
permalink: /docs/scroll-node.html
|
||||
next: automatic-layout-basics.html
|
||||
---
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASTextNode
|
||||
layout: docs
|
||||
permalink: /docs/text-node.html
|
||||
next: editable-text-node.html
|
||||
---
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
@@ -2,6 +2,7 @@
|
||||
title: ASVideoNode
|
||||
layout: docs
|
||||
permalink: /docs/video-node.html
|
||||
next: scroll-node.html
|
||||
---
|
||||
|
||||
`ASVideoNode` is a newer class that exposes a relatively full-featured API, and is designed for both efficient and convenient implementation of embedded videos in scrolling views.
|
||||
|
||||
@@ -5684,6 +5684,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/automatic-layout-containers.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5675,6 +5675,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/automatic-layout-examples.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5657,6 +5657,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/layout-options.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5815,6 +5815,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/automatic-layout-debugging.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5649,7 +5649,8 @@
|
||||
</h1>
|
||||
<p></p>
|
||||
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
|
||||
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
@@ -5665,6 +5665,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/text-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5649,12 +5649,14 @@
|
||||
</h1>
|
||||
<p></p>
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
|
||||
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/button-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5663,6 +5663,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/cell-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5665,6 +5665,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/image-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5716,7 +5716,7 @@ rich text support.</li>
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/philosphy.html">Next →</a>
|
||||
<a class="right" href="/docs/philosophy.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5649,12 +5649,14 @@
|
||||
</h1>
|
||||
<p></p>
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
|
||||
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/network-image-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5661,6 +5661,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/video-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5649,12 +5649,14 @@
|
||||
</h1>
|
||||
<p></p>
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
|
||||
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/map-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5649,12 +5649,14 @@
|
||||
</h1>
|
||||
<p></p>
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
|
||||
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/automatic-layout-basics.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5649,12 +5649,14 @@
|
||||
</h1>
|
||||
<p></p>
|
||||
|
||||
<div class = "warning">😑 This page is coming soon...</div>
|
||||
<div>😑 This page is coming soon...</div>
|
||||
|
||||
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/editable-text-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
@@ -5667,6 +5667,8 @@
|
||||
<div class="docs-prevnext">
|
||||
|
||||
|
||||
<a class="right" href="/docs/scroll-node.html">Next →</a>
|
||||
|
||||
</div>
|
||||
|
||||
<a id="_"></a>
|
||||
|
||||
Reference in New Issue
Block a user