ASCollectionNode Class Reference

Inherits from ASDisplayNode : ASDealloc2MainObject
Declared in ASCollectionNode.h

Overview

ASCollectionNode is a node based class that wraps an ASCollectionView. It can be used as a subnode of another node, and provide room for many (great) features and improvements later on.

  view

Returns a view.

@property (nonatomic, readonly) ASCollectionView *view

Discussion

The view property is lazily initialized, similar to UIViewController. To go the other direction, use ASViewToDisplayNode() in ASDisplayNodeExtras.h.

Warning: The first access to it must be on the main thread, and should only be used on the main thread thereafter as well.

Declared In

ASDisplayNode.h