//
|
// MineViewController.m
|
// BuWanVideo2.0
|
//
|
// Created by apple on 2018/3/13.
|
// Copyright © 2018年 com.yeshi.buwansheque.ios. All rights reserved.
|
//
|
|
#import "MineViewController.h"
|
#import "attentionView.h"
|
@interface MineViewController ()
|
@property (nonatomic,strong)attentionView *atteVC ;
|
|
@end
|
|
@implementation MineViewController
|
- (instancetype)init {
|
self = [super init];
|
if (self) {
|
self.title = @"我的";
|
UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"User-拷贝"] selectedImage:[UIImage imageNamed:@"User"]];
|
self.tabBarItem = item;
|
}
|
return self;
|
}
|
- (void)viewDidLoad {
|
[super viewDidLoad];
|
[self.view addSubview:self.atteVC];
|
}
|
- (attentionView *)atteVC{
|
if (_atteVC) {
|
return _atteVC;
|
}
|
_atteVC = [[attentionView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
|
return _atteVC;
|
}
|
|
- (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
|