Commit 1adfde59 authored by 陈俊泳's avatar 陈俊泳

「docs」&「规范」

parents
# 交接事项
---
## 账号
- [Appid](https://developer.apple.com/account/#/overview/C77C4Z7YUK)
- 446467926@qq.com
- 「App打包密码:aesw-kpag-preb-byxo」
- [蒲公英](https://www.pgyer.com/my)
- 测试
- 17701929130
- Syc34583232
- 微信
- 微信公众平台
2093181845@qq.com
Sy2019123
微信开发平台
operation@shengyc.com
Sy2019123
- 阿里云
盛原成SYC
shengyc2@!9
- [友盟测试帐号](https://www.umeng.com/)
盛原成测试/syC9229&63
---
## 代码基本要求
- 基本要求
+ 成员属性基本格式:@property (nonatomic, copy) NSString *thumb;逗号前面没有空格,后面有空格
+ 变量名,方法名之类命名尽量不缩写
+ 方法的声明、实现: - (void)viewDidLoad { ,-/+号前空格,{ 前有空格,{和代码写在同一行;
+ 关于遵守协议:@interface GBConversationViewController () \<UITableViewDataSource, UITableViewDelegate\>,逗号后面有空格
<br>
- .m文件
+ \#MARK 标注顺序
* LifeCycle
* DataSource,Delegate
* Event Response
* 其它的一些Method(Public Method等等)
* Property Method (所有的懒加载之类有关property的初始化)
* NavigationBar Configuration ,导航栏颜色之类
* Private Method()
* \#MARK 一般都是英文就可以了
+ 在.m文件中非必要的话,不会在函数上注释,一般在h文件注释好就可以了。
+ \#important引用头文件基本顺序,
* Controller
* View
* ViewModel
* Request
* Mgr
一般有ViewModel的类不会直接引用Request
「ViewModel的h会import使用到的数据源h文件」
Request的h文件里面会import对应model的h文件
<br>
-
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment