把代码:
NSInteger numberOfBeforeSection = [_update[@"oldModel"] numberOfItemsInSection:updateItem.indexPathBeforeUpdate.section];
替换成:
NSInteger numberOfBeforeSection =[(UICollectionView *)_update[@"oldModel"]numberOfItemsInSection:updateItem.indexPathBeforeUpdate.section];
网友评论