CNLiveServices
pod lib lint --allow-warnings --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git
pod spec lint --allow-warnings --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git
pod repo push CNLiveRepos CNLiveServices.podspec --allow-warnings --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git
UserAgreement - 用户协议模块 | | -- CNUserAgreementManager充当Servic类的功能 | 注意:对外只提供一个类的时候,可以这样写
Home - 首页模块 Found - 发现模块
Login - 登录注册模块
|
| -- Module 1.CNLiveLoginModule是组件的事件传递和生命周期
| 2.CNLiveLoginService是和CNLiveLoginServiceProtocol协议绑定类,
| 外部模块通过获取此类来获取登录注册模块的功能;
例如: id login = [[BeeHive shareInstance] createService:@protocol(CNLiveLoginServiceProtocol)];
|
| -- Controller - 控制器
|
| -- View - 视图
|
| -- Model - 模型
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Installation
CNLiveServices is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CNLiveServices'
Author
153993236@qq.com, zhangxiaowen@cnlive.com
License
CNLiveServices is available under the MIT license. See the LICENSE file for more info.