TLIndexPathUpdates Class Reference
Inherits from | NSObject |
Declared in | TLIndexPathUpdates.h |
Overview
Takes two versions of a data model and computes the changes, i.e. the inserts,
moves, deletes and modifications. A variety of performBatchUpdatesOn*
methods
are provided for performing batch updates on the table or collection view.
Tasks
-
oldDataModel
property -
updatedDataModel
property -
insertedSectionNames
property -
deletedSectionNames
property -
movedSectionNames
property -
insertedItems
property -
deletedItems
property -
movedItems
property -
modifiedItems
property -
– performBatchUpdatesOnTableView:withRowAnimation:
-
– performBatchUpdatesOnCollectionView:
-
– performBatchUpdatesOnCollectionView:completion:
-
– initWithOldDataModel:updatedDataModel:
Instance Methods
initWithOldDataModel:updatedDataModel:
- (id)initWithOldDataModel:(TLIndexPathDataModel *)oldDataModel updatedDataModel:(TLIndexPathDataModel *)updatedDataModel
performBatchUpdatesOnCollectionView:
- (void)performBatchUpdatesOnCollectionView:(UICollectionView *)collectionView