Add PromiseKit dependency

- Added PromiseKit dependency
This commit is contained in:
2018-11-15 22:08:00 -04:00
parent 2689d86c18
commit be7b6b5881
541 changed files with 46282 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//
// PromiseKit+StoreKit.h
// Aluxoft SCP
//
// Created by Josejulio Martínez on 16/05/14.
#import <PromiseKit/AnyPromise.h>
#import <StoreKit/SKRequest.h>
/**
To import the `SKRequest` category:
use_frameworks!
pod "PromiseKit/StoreKit"
And then in your sources:
@import PromiseKit;
*/
@interface SKRequest (PromiseKit)
/**
Sends the request to the Apple App Store.
@return A promise that fulfills when the request succeeds. If the
receiver is an SKProductsRequest, the promise fulfills with its
`SKProductsResponse`, otherwise the promise is void.
*/
- (AnyPromise *)promise NS_REFINED_FOR_SWIFT;
@end