Skip to content

Commit

Permalink
FIX crash on selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Morissard committed Jun 8, 2015
1 parent ee38d17 commit 98d41b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JMActionSheetDescription.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/JMActionSheetCollectionViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 98d41b9

Please sign in to comment.