iOS - 一道面试题

2017-03-14  本文已影响5人  GA_
这方法都什么时候会调用 一共十种

- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

 下面是答案:
reloadData、insertSections、deleteSections、reloadSections、moveSection、insertItemsAtIndexPaths、deleteItemsAtIndexPaths、reloadItemsAtIndexPaths、moveItemAtIndexPath
上一篇 下一篇

猜你喜欢

热点阅读