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 enabled

    Swift

    var enabled: ObjCBool
  • Start coalescing if the last update was within this interval

    Declaration

    Objective-C

    NSTimeInterval minInterval

    Swift

    var minInterval: TimeInterval
  • If we need to coalesce, increase the interval by this much for next time.

    Declaration

    Objective-C

    NSTimeInterval intervalIncrement

    Swift

    var intervalIncrement: TimeInterval
  • This is the maximum coalesce interval, so the slowest and update can wait.

    Declaration

    Objective-C

    NSTimeInterval maxInterval

    Swift

    var maxInterval: TimeInterval
  • Coalece using maxInterval if view is not visible according to IGListViewVisibilityTracker

    Declaration

    Objective-C

    BOOL useMaxIntervalWhenViewNotVisible

    Swift

    var useMaxIntervalWhenViewNotVisible: ObjCBool