mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
28 lines
724 B
Objective-C
28 lines
724 B
Objective-C
//
|
|
// PremiumManager.h
|
|
// NewsBlur
|
|
//
|
|
// Created by David Sinclair on 2018-10-04.
|
|
// Copyright © 2018 NewsBlur. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <StoreKit/StoreKit.h>
|
|
#import "NewsBlurAppDelegate.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface PremiumManager : NSObject
|
|
|
|
@property (nonatomic, strong) SKProduct * _Nullable premiumProduct;
|
|
@property (nonatomic, strong) SKProduct * _Nullable premiumArchiveProduct;
|
|
@property (nonatomic, strong) NSArray<NSArray<NSString *> *> *premiumReasons;
|
|
@property (nonatomic, strong) NSArray<NSArray<NSString *> *> *premiumArchiveReasons;
|
|
|
|
- (void)loadProducts;
|
|
- (void)purchase:(SKProduct *)product;
|
|
- (void)restorePurchase;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|