ASRangeControllerDelegate Protocol Reference

Conforms to NSObject
Declared in ASRangeController.h

Overview

Delegate for ASRangeController.

– didBeginUpdatesInRangeController: required method

Begin updates.

- (void)didBeginUpdatesInRangeController:(ASRangeController *)rangeController

Parameters

rangeController

Sender.

Declared In

ASRangeController.h

– rangeController:didEndUpdatesAnimated:completion: required method

End updates.

- (void)rangeController:(ASRangeController *)rangeController didEndUpdatesAnimated:(BOOL)animated completion:(void ( ^ ) ( BOOL ))completion

Parameters

rangeController

Sender.

animated

NO if all animations are disabled. YES otherwise.

completion

Completion block.

Declared In

ASRangeController.h

– didCompleteUpdatesInRangeController: required method

Completed updates to cell node addition and removal.

- (void)didCompleteUpdatesInRangeController:(ASRangeController *)rangeController

Parameters

rangeController

Sender.

Declared In

ASRangeController.h

– rangeController:didInsertNodes:atIndexPaths:withAnimationOptions: required method

Called for nodes insertion.

- (void)rangeController:(ASRangeController *)rangeController didInsertNodes:(NSArray<ASCellNode*> *)nodes atIndexPaths:(NSArray<NSIndexPath*> *)indexPaths withAnimationOptions:(ASDataControllerAnimationOptions)animationOptions

Parameters

rangeController

Sender.

nodes

Inserted nodes.

indexPaths

Index path of inserted nodes.

animationOptions

Animation options. See ASDataControllerAnimationOptions.

Declared In

ASRangeController.h

– rangeController:didDeleteNodes:atIndexPaths:withAnimationOptions: required method

Called for nodes deletion.

- (void)rangeController:(ASRangeController *)rangeController didDeleteNodes:(NSArray<ASCellNode*> *)nodes atIndexPaths:(NSArray<NSIndexPath*> *)indexPaths withAnimationOptions:(ASDataControllerAnimationOptions)animationOptions

Parameters

rangeController

Sender.

nodes

Deleted nodes.

indexPaths

Index path of deleted nodes.

animationOptions

Animation options. See ASDataControllerAnimationOptions.

Declared In

ASRangeController.h

– rangeController:didInsertSectionsAtIndexSet:withAnimationOptions: required method

Called for section insertion.

- (void)rangeController:(ASRangeController *)rangeController didInsertSectionsAtIndexSet:(NSIndexSet *)indexSet withAnimationOptions:(ASDataControllerAnimationOptions)animationOptions

Parameters

rangeController

Sender.

indexSet

Index set of inserted sections.

animationOptions

Animation options. See ASDataControllerAnimationOptions.

Declared In

ASRangeController.h

– rangeController:didDeleteSectionsAtIndexSet:withAnimationOptions: required method

Called for section deletion.

- (void)rangeController:(ASRangeController *)rangeController didDeleteSectionsAtIndexSet:(NSIndexSet *)indexSet withAnimationOptions:(ASDataControllerAnimationOptions)animationOptions

Parameters

rangeController

Sender.

indexSet

Index set of deleted sections.

animationOptions

Animation options. See ASDataControllerAnimationOptions.

Declared In

ASRangeController.h