Files
AsyncDisplayKit/_docs/container-ascollectionnode.md

547 B
Executable File

title, layout, permalink, next
title layout permalink next
ASCollectionNode docs /docs/container-ascollectionnode.html container-aspagernode.html

ASCollectionNode can be used in place of any UICollectionView. The only requirements are that you replace your

-cellForRowAtIndexPath:

method with a

-nodeForRowAtIndexPath:

or

-nodeBlockForRowAtIndexPath:

Otherwise, a collection node has mostly the same delegate and dataSource methods that a collection view would and is compatible with most UICollectionViewLayouts.