BaseViewController.h
645 Bytes
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
//
// BaseViewController.h
// ZXBaseProject
//
// Created by 张旭 on 2017/1/10.
// Copyright © 2017年 cnlive. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BaseViewController : UIViewController
@property (nonatomic, strong) UIButton *btnRight;
@property (nonatomic, strong) UIButton *btnLeft;
@property (nonatomic) BOOL isModalButton;
/**
* 加载视图
*/
- (void)bindView;
/**
* 加载模型
*/
- (void)bindModel;
/**
* 加载方法
*/
- (void)bindAction;
- (void)onBackAction;
- (void)onRightAction;
/**
* 词典转换为字符串
*/
- (NSString*)dictionaryToJson:(NSDictionary *)dic;
@end