mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
33 lines
1,009 B
C
33 lines
1,009 B
C
![]() |
//
|
||
|
// PremiumViewController.h
|
||
|
// NewsBlur
|
||
|
//
|
||
|
// Created by Samuel Clay on 11/9/17.
|
||
|
// Copyright © 2017 NewsBlur. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import <StoreKit/StoreKit.h>
|
||
|
#import "NewsBlurAppDelegate.h"
|
||
|
|
||
|
@interface PremiumViewController : BaseViewController <UITableViewDelegate, UITableViewDataSource, SKProductsRequestDelegate, SKPaymentTransactionObserver> {
|
||
|
NewsBlurAppDelegate *appDelegate;
|
||
|
NSArray<SKProduct *> *products;
|
||
|
|
||
|
NSArray *reasons;
|
||
|
}
|
||
|
|
||
|
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
|
||
|
@property (nonatomic) IBOutlet UIActivityIndicatorView *spinner;
|
||
|
@property (nonatomic) IBOutlet UITableView *productsTable;
|
||
|
@property (nonatomic) IBOutlet UITableView *reasonsTable;
|
||
|
@property (nonatomic) IBOutlet UINavigationBar *navigationBar;
|
||
|
@property (nonatomic) IBOutlet UIBarButtonItem *doneButton;
|
||
|
@property (nonatomic) IBOutlet UIBarButtonItem *restoreButton;
|
||
|
|
||
|
|
||
|
- (IBAction)closeDialog:(id)sender;
|
||
|
- (IBAction)restorePurchase:(id)sender;
|
||
|
|
||
|
@end
|