IGListAdaptiveDiffingExperimentConfig

Objective-C

struct IGListAdaptiveDiffingExperimentConfig {}

Swift

struct IGListAdaptiveDiffingExperimentConfig

Customize how diffing is performed

  • Enabled experimental code path. This needs to be enabled for the other properties to take effect.

    Declaration

    Objective-C

    BOOL enabled

    Swift

    var enabled: ObjCBool
  • Enable higher background thread priority

    Declaration

    Objective-C

    BOOL higherQOSEnabled

    Swift

    var higherQOSEnabled: ObjCBool
  • If both item counts are under this number, we’ll run the diffing on the main thread.

    Declaration

    Objective-C

    NSInteger maxItemCountToRunOnMain

    Swift

    var maxItemCountToRunOnMain: Int
  • Lower QOS if view is not visible according to IGListViewVisibilityTracker

    Declaration

    Objective-C

    BOOL lowerPriorityWhenViewNotVisible

    Swift

    var lowerPriorityWhenViewNotVisible: ObjCBool