//
//  BaseUIViewController.m
//  EMASMANTestApp
//
//  Created by junmo on 2018/6/15.
//  Copyright © 2018年 junmo. All rights reserved.
//
#if __has_include(<EMASMAN/EMASMAN.h>)
#import <EMASMAN/EMASMANPageHitHelper.h>
#else
#endif

#import "BaseUIViewController.h"

@interface BaseUIViewController ()

@end

@implementation BaseUIViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)viewDidAppear:(BOOL)animated {
#if __has_include(<EMASMAN/EMASMAN.h>)

    [[EMASMANPageHitHelper sharedInstance] pageAppear:self];
#else
#endif
}

- (void)viewDidDisappear:(BOOL)animated {
#if __has_include(<EMASMAN/EMASMAN.h>)

    [[EMASMANPageHitHelper sharedInstance] pageDisAppear:self];
#else
#endif
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
