IGListAdapterUpdater

@interface IGListAdapterUpdater : NSObject <IGListUpdatingDelegate>

This is an out-of-box upater for IGListAdapters. It conforms to IGListUpdatingDelegate and does re-entrant, coalesced updating on a UICollectionView.

It also uses IGDiffKit (a least-minimal diff) for calculating UI updates when IGListAdapter calls -performUpdateWithCollectionView:fromObjects:toObjects:completion:.

  • A delegate that receives events with data on the performance of a transition.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<IGListAdapterUpdaterDelegate> _Nullable delegate;
  • A flag indicating if a move should be treated as a delete+insert.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL movesAsDeletesInserts;
  • A bitmask of experiments to conduct on the updater.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) IGListExperiment experiments;