diff --git a/JMActionSheetDescription.podspec b/JMActionSheetDescription.podspec index 44da53e..c53fca1 100644 --- a/JMActionSheetDescription.podspec +++ b/JMActionSheetDescription.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "JMActionSheetDescription" - s.version = "0.4.2" + s.version = "0.4.3" s.summary = "Make a description of your actionSheet 2.0." s.description = <<-DESC JMActionSheetDescription is a descriptor component. Write your actionSheet description and let diff --git a/Pod/Classes/JMActionSheetCollectionViewController.m b/Pod/Classes/JMActionSheetCollectionViewController.m index 323b513..341ed04 100644 --- a/Pod/Classes/JMActionSheetCollectionViewController.m +++ b/Pod/Classes/JMActionSheetCollectionViewController.m @@ -73,7 +73,7 @@ - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPa id obj = [self.collectionViewElements objectAtIndex:indexPath.row]; if (NO == self.collectionView.allowsMultipleSelection) { - [self.actionSheetDelegate actionSheetDidSelectCollectionView:collectionView element:self.selectedItems block:self.collectionActionBlock]; + [self.actionSheetDelegate actionSheetDidSelectCollectionView:collectionView element:obj block:self.collectionActionBlock]; } else { [self.selectedItems addObject:obj];