Commit 9ecda1ed930bfb7f673689dbc57da5179c29de2f
1 parent
39544de2
no message
Showing
5 changed files
with
3 additions
and
8 deletions
CNLiveServices/Classes/Category/CNLiveCategoryServiceProtocol.h
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | #import "BHServiceProtocol.h" | 10 | #import "BHServiceProtocol.h" |
| 11 | 11 | ||
| 12 | @protocol CNLiveCategoryServiceProtocol <NSObject, BHServiceProtocol> | 12 | @protocol CNLiveCategoryServiceProtocol <NSObject, BHServiceProtocol> |
| 13 | -//首页 | 13 | + |
| 14 | - (UIViewController *)getCategoryViewController; | 14 | - (UIViewController *)getCategoryViewController; |
| 15 | - (void)pushToCategoryViewController; | 15 | - (void)pushToCategoryViewController; |
| 16 | 16 |
CNLiveServices/Classes/Login/CNLiveLoginServiceProtocol.h
| @@ -11,9 +11,9 @@ | @@ -11,9 +11,9 @@ | ||
| 11 | 11 | ||
| 12 | @protocol CNLiveLoginServiceProtocol <NSObject, BHServiceProtocol> | 12 | @protocol CNLiveLoginServiceProtocol <NSObject, BHServiceProtocol> |
| 13 | 13 | ||
| 14 | -//登录 | ||
| 15 | - (UIViewController *)getLoginViewController; | 14 | - (UIViewController *)getLoginViewController; |
| 16 | - (void)pushToLoginViewController; | 15 | - (void)pushToLoginViewController; |
| 16 | +- (void)presentToLoginViewController; | ||
| 17 | 17 | ||
| 18 | - (void)loginIfNeedWithCompleteBlock:(void (^)(BOOL))completeBlock; | 18 | - (void)loginIfNeedWithCompleteBlock:(void (^)(BOOL))completeBlock; |
| 19 | 19 |
CNLiveServices/Classes/Mine/CNLiveMineServiceProtocol.h
| @@ -11,9 +11,7 @@ | @@ -11,9 +11,7 @@ | ||
| 11 | 11 | ||
| 12 | @protocol CNLiveMineServiceProtocol <NSObject, BHServiceProtocol> | 12 | @protocol CNLiveMineServiceProtocol <NSObject, BHServiceProtocol> |
| 13 | 13 | ||
| 14 | -//首页 | ||
| 15 | - (UIViewController *)getMineViewController; | 14 | - (UIViewController *)getMineViewController; |
| 16 | - (void)pushToMineViewController; | 15 | - (void)pushToMineViewController; |
| 17 | 16 | ||
| 18 | - | ||
| 19 | @end | 17 | @end |
CNLiveServices/Classes/NetHome/CNLiveNetHomeServiceProtocol.h
| @@ -11,9 +11,7 @@ | @@ -11,9 +11,7 @@ | ||
| 11 | 11 | ||
| 12 | @protocol CNLiveNetHomeServiceProtocol <NSObject, BHServiceProtocol> | 12 | @protocol CNLiveNetHomeServiceProtocol <NSObject, BHServiceProtocol> |
| 13 | 13 | ||
| 14 | -//首页 | ||
| 15 | - (UIViewController *)getHomeViewController; | 14 | - (UIViewController *)getHomeViewController; |
| 16 | - (void)pushToHomeViewController; | 15 | - (void)pushToHomeViewController; |
| 17 | 16 | ||
| 18 | - | ||
| 19 | @end | 17 | @end |
CNLiveServices/Classes/Service/CNLiveServiceServiceProtocol.h
| @@ -10,11 +10,10 @@ | @@ -10,11 +10,10 @@ | ||
| 10 | #import "BHServiceProtocol.h" | 10 | #import "BHServiceProtocol.h" |
| 11 | 11 | ||
| 12 | @protocol CNLiveServiceServiceProtocol <NSObject, BHServiceProtocol> | 12 | @protocol CNLiveServiceServiceProtocol <NSObject, BHServiceProtocol> |
| 13 | -// 传值 | ||
| 14 | -@property (nonatomic, strong) NSString *itemId; | ||
| 15 | 13 | ||
| 16 | - (UIViewController *)getServiceViewController; | 14 | - (UIViewController *)getServiceViewController; |
| 17 | - (void)pushToServiceViewController; | 15 | - (void)pushToServiceViewController; |
| 16 | + | ||
| 18 | - (void)pushToServiceViewControllerByName:(NSString *)name url:(NSString *)url delegate:(id)delegate; | 17 | - (void)pushToServiceViewControllerByName:(NSString *)name url:(NSString *)url delegate:(id)delegate; |
| 19 | 18 | ||
| 20 | @end | 19 | @end |