IGListAdaptiveCoalescingExperimentConfig
Objective-C
struct IGListAdaptiveCoalescingExperimentConfig {}
Swift
struct IGListAdaptiveCoalescingExperimentConfig
Customize how coalescing works to speed up some updates
-
Enable adaptive coalescing, where we try to mininimize the update delay
Declaration
Objective-C
BOOL enabledSwift
var enabled: ObjCBool -
Start coalescing if the last update was within this interval
Declaration
Objective-C
NSTimeInterval minIntervalSwift
var minInterval: TimeInterval -
If we need to coalesce, increase the interval by this much for next time.
Declaration
Objective-C
NSTimeInterval intervalIncrementSwift
var intervalIncrement: TimeInterval -
This is the maximum coalesce interval, so the slowest and update can wait.
Declaration
Objective-C
NSTimeInterval maxIntervalSwift
var maxInterval: TimeInterval -
Coalece using
maxIntervalif view is not visible according toIGListViewVisibilityTrackerDeclaration
Objective-C
BOOL useMaxIntervalWhenViewNotVisibleSwift
var useMaxIntervalWhenViewNotVisible: ObjCBool
View on GitHub