ASTableNode Class Reference

Inherits from ASDisplayNode : ASDealloc2MainObject
Declared in ASTableNode.h

Overview

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

– init

Designated initializer.

- (instancetype)init

Return Value

An ASDisplayNode instance whose view will be a subclass that enables asynchronous rendering, and passes through -layout and touch handling methods.

Declared In

ASDisplayNode.h

  view

Returns a view.

@property (strong, nonatomic, readonly) ASTableView *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