Support custom working-range logic.

This commit is contained in:
Huy Nguyen
2014-11-25 12:28:15 +02:00
parent 8e2a207373
commit 230520fe7e
4 changed files with 46 additions and 10 deletions

View File

@@ -34,6 +34,13 @@
*/
@property (nonatomic, assign) ASRangeTuningParameters rangeTuningParameters;
/**
* @abstract An optional block which can perform custom calculation for working range.
*
* @discussion Can be used to provide custom working range logic for custom layouts.
*/
@property (nonatomic, assign) asrangecontroller_working_range_calculation_block_t workingRangeCalculationBlock;
/**
* Reload everything from scratch, destroying the working range and all cached nodes.
*