ASCellNodeInteractionDelegate Protocol Reference

Conforms to NSObject
Declared in ASCellNode+Internal.h

– nodeDidRelayout:sizeChanged: required method

Notifies the delegate that the specified cell node has done a relayout. The notification is done on main thread.

- (void)nodeDidRelayout:(ASCellNode *)node sizeChanged:(BOOL)sizeChanged

Parameters

node

A node informing the delegate about the relayout.

sizeChanged

YES if the node’s calculatedSize changed during the relayout, NO otherwise.

Discussion

This will not be called due to measurement passes before the node has loaded its view, even if triggered by -setNeedsLayout, as it is assumed these are not relevant to UIKit. Indeed, these calls can cause consistency issues.

Declared In

ASCellNode+Internal.h