forked from boai/BABaseProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBABaseProjectNoti.h
More file actions
executable file
·219 lines (178 loc) · 7.38 KB
/
Copy pathBABaseProjectNoti.h
File metadata and controls
executable file
·219 lines (178 loc) · 7.38 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
/*!
* @header BAKit.h
* BABaseProject
*
* @brief BAKit
*
* @author 博爱
* @copyright Copyright © 2016年 博爱. All rights reserved.
* @version V1.0
*/
// _ooOoo_
// o8888888o
// 88" . "88
// (| -_- |)
// O\ = /O
// ____/`---'\____
// . ' \\| |// `.
// / \\||| : |||// \
// / _||||| -:- |||||- \
// | | \\\ - /// | |
// | \_| ''\---/'' | |
// \ .-\__ `-` ___/-. /
// ___`. .' /--.--\ `. . __
// ."" '< `.___\_<|>_/___.' >'"".
// | | : `- \`.;`\ _ /`;.`/ - ` : | |
// \ \ `-. \_ __\ /__ _/ .-` / /
// ======`-.____`-.___\_____/___.-`____.-'======
// `=---='
//
// .............................................
// 佛祖镇楼 BUG辟易
// 佛曰:
// 写字楼里写字间,写字间里程序员;
// 程序人员写程序,又拿程序换酒钱。
// 酒醒只在网上坐,酒醉还来网下眠;
// 酒醉酒醒日复日,网上网下年复年。
// 但愿老死电脑间,不愿鞠躬老板前;
// 奔驰宝马贵者趣,公交自行程序员。
// 别人笑我忒疯癫,我笑自己命太贱;
// 不见满街漂亮妹,哪个归得程序员?
/*
*********************************************************************************
*
* 在使用BAKit的过程中如果出现bug请及时以以下任意一种方式联系我,我会及时修复bug
*
* QQ : 可以添加ios开发技术群 479663605 在这里找到我(博爱1616【137361770】)
* 微博 : 博爱1616
* Email : 137361770@qq.com
* GitHub : https://github.com/boai
* 博客园 : http://www.cnblogs.com/boai/
* 博客 : http://boai.github.io
*********************************************************************************
*/
#ifndef BABaseProjectNoti_h
#define BABaseProjectNoti_h
/*! ************** 本项目框架使用说明 ************** */
#pragma mark - ***** 1、注释规范:
.h 文件:
属性名示例:
/*! 标题Frame */
@property (nonatomic, assign) CGRect titleLabelFrame;
方法示例:
/*!
* 是否使用自定义TabVC
*
* @param is YES:使用,NO:使用RDVTabVC
*/
- (void)isBATabVC:(BOOL)is;
.m 文件
属性名 同上;
功能分区:
一级:#pragma mark - *****
二级:#pragma mark
示例:
// #pragma mark - ***** 使用RDVTabBarController 设置
// #pragma mark 初始化各个ViewController
//- (void)setupViewControllers
//{
//
//}
#pragma mark - ***** 2、项目简介 和 使用指南
#### 2.1 项目简介 <br>
**主要使用 MVVM 设计模式 和 MVC 设计模式,共分为三大类:** <br>
**1、Main** <br>
主要功能:两种tabbarVC,可以自由选择,一种是完全自定义tabbarVC,一种是DVTabBarController <br>
**2、BAMainCode** <br>
- 2.1 BACode 【主要代码】 如:Home(首页)、Message(消息)、Discover(发现)、Profile(我) <br>
- 2.2 BABaseData【基类】 如:BABaseVC、BABaseView、BABaseModel <br>
- 2.3 BALib 【三方库】 如:不能用pod更新的三方库可以放在这里 <br>
- 2.4 BATools 【工具类】 如:BACategory(分类)、BADataBase(数据库)、BAMacros(宏)、BANetManager(网络类)、BATool(工具类) <br>
- 2.5 Resources 【资源】 如:字体、Plist、图片 <br>
- 2.6 Other 【其他代码】 如: <br>
- 2.7 BACustom 【其他自定义】 如:暂时不知道放在哪里的自定义文件可放在这里 <br>
**3、Supporting Files** <br>
- 3.1这里暂时放置系统的文件,如:AppDelegate、Main.storyboard、Assets.xcassets、Assets.xcassets、main.m <br>
#### 2.2 使用指南 <br>
使用的时候删除每个VC里面的DemoVC文件夹即可!<br>
DemoVC文件夹:是专门展示各级样例用法的文件夹!
#pragma mark - ***** 3、个性header
/*!
* @header BAKit.h
* BABaseProject
*
* @brief BAKit
*
* @author 博爱
* @copyright Copyright © 2016年 博爱. All rights reserved.
* @version V1.0
*/
// _ooOoo_
// o8888888o
// 88" . "88
// (| -_- |)
// O\ = /O
// ____/`---'\____
// . ' \\| |// `.
// / \\||| : |||// \
// / _||||| -:- |||||- \
// | | \\\ - /// | |
// | \_| ''\---/'' | |
// \ .-\__ `-` ___/-. /
// ___`. .' /--.--\ `. . __
// ."" '< `.___\_<|>_/___.' >'"".
// | | : `- \`.;`\ _ /`;.`/ - ` : | |
// \ \ `-. \_ __\ /__ _/ .-` / /
// ======`-.____`-.___\_____/___.-`____.-'======
// `=---='
//
// .............................................
// 佛祖镇楼 BUG辟易
// 佛曰:
// 写字楼里写字间,写字间里程序员;
// 程序人员写程序,又拿程序换酒钱。
// 酒醒只在网上坐,酒醉还来网下眠;
// 酒醉酒醒日复日,网上网下年复年。
// 但愿老死电脑间,不愿鞠躬老板前;
// 奔驰宝马贵者趣,公交自行程序员。
// 别人笑我忒疯癫,我笑自己命太贱;
// 不见满街漂亮妹,哪个归得程序员?
/*
*********************************************************************************
*
* 在使用BAKit的过程中如果出现bug请及时以以下任意一种方式联系我,我会及时修复bug
*
* QQ : 可以添加ios开发技术群 479663605 在这里找到我(博爱1616【137361770】)
* 微博 : 博爱1616
* Email : 137361770@qq.com
* GitHub : https://github.com/boai
* 博客园 : http://www.cnblogs.com/boai/
* 博客 : http://boai.github.io
*********************************************************************************
*/
/*!
*
* ┌─┐ ┌─┐
* ┌──┘ ┴───────┘ ┴──┐
* │ │
* │ ─── │
* │ ─┬┘ └┬─ │
* │ │
* │ ─┴─ │
* │ │
* └───┐ ┌───┘
* │ │
* │ │
* │ │
* │ └──────────────┐
* │ │
* │ ├─┐
* │ ┌─┘
* │ │
* └─┐ ┐ ┌───────┬──┐ ┌──┘
* │ ─┤ ─┤ │ ─┤ ─┤
* └──┴──┘ └──┴──┘
* 神兽保佑
* 代码无BUG!
*/
#endif /* BABaseProjectNoti_h */