Skip to content

Commit 38e4846

Browse files
Update STDSTransaction.h
1 parent 7b80f7f commit 38e4846

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Stripe/PublicHeaders/STDSTransaction.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#import <Foundation/Foundation.h>
1010
#import <UIKit/UIKit.h>
1111

12+
typedef void (^STDSTransactionVoidBlock)(void);
13+
1214
@class STDSAuthenticationRequestParameters, STDSChallengeParameters;
1315
@protocol STDSChallengeStatusReceiver;
1416

@@ -42,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN
4244
/**
4345
Returns a UIViewController instance displaying the Directory Server logo and a spinner. Present this during the Authentication Request/Response.
4446
*/
45-
- (UIViewController *)createProgressViewControllerWithDidCancel:(void (^)(void))didCancel;
47+
- (UIViewController *)createProgressViewControllerWithDidCancel:(STDSTransactionVoidBlock)didCancel;
4648

4749
/**
4850
Initiates the challenge process, displaying challenge UI as needed.

0 commit comments

Comments
 (0)