EaseUI中PSTCollectionView報(bào)錯(cuò)。
NSInteger numberOfBeforeSection = [_update[@"oldModel"] numberOfItemsInSection:updateItem.indexPathBeforeUpdate.section];
該報(bào)錯(cuò)是因?yàn)槿≈禃r(shí)編譯器不知道對(duì)象,解決方法為告訴編譯器對(duì)象诸迟,更改為:
NSInteger numberOfBeforeSection = [(UICollectionView *)_update[@"oldModel"] numberOfItemsInSection:updateItem.indexPathBeforeUpdate.section];