Commit 37044e11ba67fcf20763900116758e4c93284657
1 parent
d36e88c9
修改
Showing
6 changed files
with
7 additions
and
12 deletions
CNLiveServices/Classes/CNLiveServices.h
CNLiveServices/Classes/Category/CNLiveCategoryServiceProtocol.h
| ... | ... | @@ -11,9 +11,8 @@ |
| 11 | 11 | #import "BHServiceProtocol.h" |
| 12 | 12 | |
| 13 | 13 | @protocol CNLiveCategoryServiceProtocol <NSObject, BHServiceProtocol> |
| 14 | - | |
| 14 | +@optional | |
| 15 | 15 | - (UIViewController *)getCategoryViewController; |
| 16 | -- (void)pushToCategoryViewController; | |
| 17 | 16 | |
| 18 | 17 | - (void)selectItem:(NSInteger)item; |
| 19 | 18 | ... | ... |
CNLiveServices/Classes/Login/CNLiveLoginServiceProtocol.h
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | #import "BHServiceProtocol.h" |
| 12 | 12 | |
| 13 | 13 | @protocol CNLiveLoginServiceProtocol <NSObject, BHServiceProtocol> |
| 14 | - | |
| 14 | +@optional | |
| 15 | 15 | - (UIViewController *)getLoginViewController; |
| 16 | 16 | - (void)pushToLoginViewController; |
| 17 | 17 | - (void)pushToLoginViewController:(BOOL)isShow; | ... | ... |
CNLiveServices/Classes/Mine/CNLiveMineServiceProtocol.h
CNLiveServices/Classes/NetHome/CNLiveNetHomeServiceProtocol.h
CNLiveServices/Classes/Service/CNLiveServiceServiceProtocol.h
| ... | ... | @@ -11,10 +11,7 @@ |
| 11 | 11 | #import "BHServiceProtocol.h" |
| 12 | 12 | |
| 13 | 13 | @protocol CNLiveServiceServiceProtocol <NSObject, BHServiceProtocol> |
| 14 | - | |
| 14 | +@optional | |
| 15 | 15 | - (UIViewController *)getServiceViewController; |
| 16 | -- (void)pushToServiceViewController; | |
| 17 | - | |
| 18 | -- (void)pushToServiceViewControllerByName:(NSString *)name url:(NSString *)url delegate:(id)delegate; | |
| 19 | 16 | |
| 20 | 17 | @end | ... | ... |