Add API to ASViewController to automatically adjust the range mode of the containing node based on view events

This commit is contained in:
Michael Schneider
2016-02-26 20:24:19 -08:00
parent 60889f555e
commit 760f4ada91
2 changed files with 26 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ NS_ASSUME_NONNULL_BEGIN
// Refer to examples/SynchronousConcurrency, AsyncViewController.m
@property (nonatomic, assign) BOOL neverShowPlaceholders;
/// Automatically adjust the range mode based on view evenets if the containing node confirms to the ASRangeControllerUpdateRangeProtocol
@property (nonatomic, assign) BOOL automaticallyAdjustRangeModeBasedOnViewEvents;
/**
* The constrained size used to measure the backing node.