ianb821 / IBActionSheet

Customizable iOS 7 style UIActionSheet
MIT License
307 stars 65 forks source link

didDismissWithButtonIndex ? #29

Closed JulesMoorhouse closed 9 years ago

JulesMoorhouse commented 9 years ago

It would be awesome if IBActionSheet supported didDismissWithButtonIndex, clickedButtonAtIndex produces an event too soon for me.

ianb821 commented 9 years ago

Thanks for the suggestion, I will look into adding the following to IBActionSheet when time permits:

- (void)actionSheet:(IBActionSheet *)actionSheet willDismissWithButtonIndex:(NSInteger)buttonIndex;
- (void)actionSheet:(IBActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex;
robtimp commented 9 years ago

@Jules2010 @ianb821 Just opened up a PR for this.

ianb821 commented 9 years ago

This has been added via a PR from @robtimp.