1. 新建项目
2. 创建pods
3 创建实体文件夹
- Application
- BaseClass
- Business
- Configure
- Extension
- Resource
- ThirdParty
- Utils
- SupportFiles
4. 创建桥接文件,修改桥接文件路径
5 创建文件
-
Application
- AppInfo(NSObject) 处理应用信息
-
BaseClass
- BaseNavigationController
- BaseViewController
- BaseTableViewController
- MainTabBarController
- BaseWebViewController
- LYTextField
- LYTextView
-
Business
- 引导页
- Login/Register
- 模块1
- 模块2
- …
- 公共元素
-
Configure
- Configure+应用名(导入对应模块)
- ConfigureMacro(宏)
- ConfigureKey(应用中用到的key)
-
Extension
- String+Extension
- …
-
Resource
- .html
- …
-
ThirdParty
- WeChatSDK
- …
-
Utils
- PrintLog
- NetworkApi
- Network
- LYHUD
- LYCache
-
SupportFiles
- Assets.xcassets
- LaunchScreen.storyboard
- Info.plist
- YHub-Briding-Header.h