admin
2023-04-21 0b3a4aaf99ea251bc8e27b96115288f0988fcffe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
//  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