NewsBlur/clients/ios/Classes/PremiumViewController.h

33 lines
1,009 B
C
Raw Normal View History

//
// 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