Closed fahied closed 8 years ago
I'm sorry but I won't be merging this PR. The same functionality can be achieved by keeping state in blocks in the call site, e.g.:
[actionSheet addButtonWithTitle:NSLocalizedString(@"Info", nil)
image:[UIImage imageNamed:@"Icon1"]
type:AHKActionSheetButtonTypeDefault
handler:^(AHKActionSheet *as) {
NSInteger index = 1;
NSLog(@"Info tapped");
}];
allow user to keep track of item they selected.