Commit 2433376b2b6f0da90bdf0992e5fec40854ab4b99
1 parent
0e6f7146
0.5.4点赞
Showing
6 changed files
with
17 additions
and
4 deletions
CNLiveVideoClassifyKit.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveVideoClassifyKit' | 10 | s.name = 'CNLiveVideoClassifyKit' |
| 11 | - s.version = '0.5.3' | 11 | + s.version = '0.5.4' |
| 12 | s.summary = '视讯头部一二级菜单组件' | 12 | s.summary = '视讯头部一二级菜单组件' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveVideoClassifyKit/Classes/Manager/CNLiveClassifyJumpBridge.h
| @@ -67,6 +67,9 @@ NS_ASSUME_NONNULL_BEGIN | @@ -67,6 +67,9 @@ NS_ASSUME_NONNULL_BEGIN | ||
| 67 | /// @param currentIndex 当前选中 | 67 | /// @param currentIndex 当前选中 |
| 68 | /// @param dataList 视频数组 | 68 | /// @param dataList 视频数组 |
| 69 | + (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList; | 69 | + (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList; |
| 70 | +/// 点赞通知网页更新交互 | ||
| 71 | +/// @param param 更新参数 | ||
| 72 | ++ (void)requestWittnessLikeNotification:(NSDictionary *)param; | ||
| 70 | @end | 73 | @end |
| 71 | 74 | ||
| 72 | NS_ASSUME_NONNULL_END | 75 | NS_ASSUME_NONNULL_END |
CNLiveVideoClassifyKit/Classes/Manager/CNLiveClassifyJumpBridge.m
| @@ -78,4 +78,8 @@ | @@ -78,4 +78,8 @@ | ||
| 78 | + (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList{ | 78 | + (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList{ |
| 79 | [[CNLiveClassifyJumpBridge shareInstance].protocol openVideoPlayerVCWithCurrentIndex:currentIndex dataList:dataList]; | 79 | [[CNLiveClassifyJumpBridge shareInstance].protocol openVideoPlayerVCWithCurrentIndex:currentIndex dataList:dataList]; |
| 80 | } | 80 | } |
| 81 | + | ||
| 82 | ++ (void)requestWittnessLikeNotification:(NSDictionary *)param{ | ||
| 83 | + [[CNLiveClassifyJumpBridge shareInstance].protocol requestWittnessLikeNotification:param]; | ||
| 84 | +} | ||
| 81 | @end | 85 | @end |
CNLiveVideoClassifyKit/Classes/Manager/CNLiveVideoClassifyProtocol.h
| @@ -109,6 +109,9 @@ NS_ASSUME_NONNULL_BEGIN | @@ -109,6 +109,9 @@ NS_ASSUME_NONNULL_BEGIN | ||
| 109 | /// @param currentIndex 当前选中 | 109 | /// @param currentIndex 当前选中 |
| 110 | /// @param dataList 视频数组 | 110 | /// @param dataList 视频数组 |
| 111 | - (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList; | 111 | - (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList; |
| 112 | +/// 点赞通知网页更新交互 | ||
| 113 | +/// @param param 更新参数 | ||
| 114 | +- (void)requestWittnessLikeNotification:(NSDictionary *)param; | ||
| 112 | @end | 115 | @end |
| 113 | 116 | ||
| 114 | NS_ASSUME_NONNULL_END | 117 | NS_ASSUME_NONNULL_END |
CNLiveVideoClassifyKit/Classes/SearchView/View/CNWitnessSearchVideoCell.m
| @@ -96,8 +96,7 @@ | @@ -96,8 +96,7 @@ | ||
| 96 | @"selected":self.model.tool.liked?@"true":@"false", | 96 | @"selected":self.model.tool.liked?@"true":@"false", |
| 97 | @"model":self.model.model?self.model.model:@"" | 97 | @"model":self.model.model?self.model.model:@"" |
| 98 | }; | 98 | }; |
| 99 | - [[NSNotificationCenter defaultCenter] postNotificationName:@"WjjWitnessLikeStatusNotification" object:nil userInfo:dic]; | ||
| 100 | - [[NSNotificationCenter defaultCenter] postNotificationName:@"Wjjh5WitnessLikeStatusNotification" object:nil userInfo:dic]; | 99 | + [CNLiveClassifyJumpBridge requestWittnessLikeNotification:dic]; |
| 101 | } | 100 | } |
| 102 | #pragma mark - Setting | 101 | #pragma mark - Setting |
| 103 | - (void)setModel:(CNWitnessSearchDetailModel *)model{ | 102 | - (void)setModel:(CNWitnessSearchDetailModel *)model{ |
Example/CNLiveVideoClassifyKit/CNLiveClassifyKitImpl.m
| @@ -106,5 +106,9 @@ | @@ -106,5 +106,9 @@ | ||
| 106 | - (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList{ | 106 | - (void)openVideoPlayerVCWithCurrentIndex:(NSString *)currentIndex dataList:(NSArray *)dataList{ |
| 107 | 107 | ||
| 108 | } | 108 | } |
| 109 | - | 109 | +/// 点赞通知网页更新交互 |
| 110 | +/// @param param 更新参数 | ||
| 111 | +- (void)requestWittnessLikeNotification:(NSDictionary *)param{ | ||
| 112 | + | ||
| 113 | +} | ||
| 110 | @end | 114 | @end |