mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-04-14 12:46:02 +00:00
10 lines
279 B
Objective-C
10 lines
279 B
Objective-C
#import <PromiseKit/fwd.h>
|
|
#import <UIKit/UIActionSheet.h>
|
|
|
|
@interface UIActionSheet (PromiseKit)
|
|
/**
|
|
Thens the dismissedButtonIndex and the actionSheet itself as the second
|
|
parameter. This promise will never be rejected.
|
|
*/
|
|
- (PMKPromise *)promiseInView:(UIView *)view;
|
|
@end
|