32 lines
905 B
Objective-C
32 lines
905 B
Objective-C
//
|
|
// EQNBaseViewController.h
|
|
// Earthquake Network
|
|
//
|
|
// Created by Busi Andrea on 16/08/2020.
|
|
// Copyright © 2020 Earthquake Network. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface EQNBaseViewController : UIViewController
|
|
|
|
@property (weak, nonatomic, nullable, readonly) UIView *bannerContainerView;
|
|
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bannerContainerHeightConstraint;
|
|
@property (nonatomic, readonly) BOOL isBannerVisible;
|
|
|
|
- (void)refreshUI;
|
|
|
|
/// Handle `EQNInAppPurchaseDidCompleteNotification` notification
|
|
/// @param notification Notification fired
|
|
- (void)didReceiveInAppNotification:(NSNotification *)notification;
|
|
|
|
/// Handle `EQNDownloadDataDidCompleteNotification` notification
|
|
/// @param notification Notification fired
|
|
- (void)didReceiveDownloadCompleteNotification:(NSNotification *)notification;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|