mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 03:45:58 +08:00
added basic docs for collectionnode, tablenode, pagernode and asviewcontroller
This commit is contained in:
@@ -2,5 +2,20 @@
|
||||
title: ASCollectionNode
|
||||
layout: docs
|
||||
permalink: /docs/ascollectionnode.html
|
||||
next: astablenode.html
|
||||
---
|
||||
|
||||
ASCollectionNode can be used in place of any UICollectionView. The only requirements are that you replace your
|
||||
|
||||
<code>-cellForRowAtIndexPath:</code>
|
||||
|
||||
method with a
|
||||
|
||||
<code>-nodeForRowAtIndexPath:</code>
|
||||
|
||||
or
|
||||
|
||||
<code>-nodeBlockForRowAtIndexPath:</code>
|
||||
|
||||
Otherwise, a collection node has mostly the same delegate and dataSource methods that a collection view would and is compatible with most UICollectionViewLayouts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user