Skip to content

Commit 7b882d3

Browse files
author
Igor Makarov
committed
predeclare the method so that there is no warning
1 parent 29dda15 commit 7b882d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/UIViewController+AnyPromise.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ @interface PMKGenericDelegate : NSObject <UINavigationControllerDelegate> {
1313
+ (instancetype)delegateWithPromise:(AnyPromise **)promise;
1414
@end
1515

16-
16+
@interface UIViewController ()
17+
- (AnyPromise*) promise;
18+
@end
1719

1820
@implementation UIViewController (PromiseKit)
1921

0 commit comments

Comments
 (0)