SSCollectionView删除部分

问题描述:

我删除部分SSCollectionView如下:SSCollectionView删除部分

[self.collectionView beginUpdates]; 
[self.collectionView deleteSections:[NSIndexSet indexSetWithIndex:0] withItemAnimation:SSCollectionViewItemAnimationFade]; 
[self.collectionView endUpdates]; 

这正是因为它的文档描述。然而,我发现了以下错误:

*** Assertion failure in -[SSCollectionViewTableView _endCellAnimationsWithContext:], /SourceCache/UIKit_Sim/UIKit-2372/UITableView.m:1054

什么是错的我在做什么?这几乎是更新和结束更新块如何与iOS中的UITableView和其他视图控制器配合使用。

在你的错误日志中:它提到了一个UITableView。也许你把你的课混在一起了?检查一下你的父类是否正常,并且你已经在Interface Builder中分配了正确的类。