mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
43 lines
1.4 KiB
Objective-C
43 lines
1.4 KiB
Objective-C
//
|
|
// PremiumViewController.h
|
|
// NewsBlur
|
|
//
|
|
// Created by Samuel Clay on 11/9/17.
|
|
// Copyright © 2017 NewsBlur. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "NewsBlurAppDelegate.h"
|
|
#import "NewsBlur-Swift.h"
|
|
|
|
@class SAConfettiView;
|
|
|
|
@interface PremiumViewController : BaseViewController <UITableViewDelegate, UITableViewDataSource> {
|
|
NewsBlurAppDelegate *appDelegate;
|
|
}
|
|
|
|
@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;
|
|
@property (nonatomic) IBOutlet UIView *freeView;
|
|
@property (nonatomic) IBOutlet UIView *premiumView;
|
|
@property (nonatomic) IBOutlet SAConfettiView *confettiView;
|
|
@property (nonatomic) IBOutlet NSLayoutConstraint *productsHeight;
|
|
@property (nonatomic) IBOutlet UILabel *labelTitle;
|
|
@property (nonatomic) IBOutlet UILabel *labelSubtitle;
|
|
@property (nonatomic) IBOutlet UITextView *policyTextView;
|
|
@property (nonatomic) IBOutlet UILabel *labelPremiumTitle;
|
|
@property (nonatomic) IBOutlet UILabel *labelPremiumExpire;
|
|
|
|
|
|
- (IBAction)closeDialog:(id)sender;
|
|
- (IBAction)restorePurchase:(id)sender;
|
|
|
|
- (void)loadedProducts;
|
|
- (void)finishedTransaction;
|
|
|
|
@end
|