所以我有一个CollectionView,它使用核心数据动态生成一组按钮。我已经完成了为按钮分配按钮和值的部分。-(UICollectionViewCell*)collectionView:(UICollectionView*)collectionViewcellForItemAtIndexPath:(NSIndexPath*)indexPath{staticNSString*identifier=@"Cell";[self.collectionViewregisterNib:[UINibnibWithNibName:@"CollectionViewCell"bundle:nil]fo