Commit 7ebae9707ea7283be2342a1098175434ed2c0a76
1 parent
d462092f
no message
Showing
4 changed files
with
43 additions
and
3 deletions
CNLivePlayer.podspec
| ... | ... | @@ -74,9 +74,9 @@ TODO: Add long description of the pod here. |
| 74 | 74 | end |
| 75 | 75 | |
| 76 | 76 | # 弹幕 |
| 77 | - #s.subspec 'Barrage' do |ss| | |
| 78 | - # ss.source_files = 'CNLivePlayer/Classes/Barrage/*.{h,m}' | |
| 79 | - #end | |
| 77 | + s.subspec 'Barrage' do |ss| | |
| 78 | + ss.source_files = 'CNLivePlayer/Classes/Barrage/*.{h,m}' | |
| 79 | + end | |
| 80 | 80 | |
| 81 | 81 | s.static_framework = true |
| 82 | 82 | s.libraries = 'z', 'bz2', 'stdc++' | ... | ... |
CNLivePlayer/Classes/Barrage/CNLiveBarrageView.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBarrageView.h | |
| 3 | +// CNLivePlayer_Example | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/8/20. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNLiveBarrageView : UIView | |
| 14 | + | |
| 15 | +@end | |
| 16 | + | |
| 17 | +NS_ASSUME_NONNULL_END | ... | ... |
CNLivePlayer/Classes/Barrage/CNLiveBarrageView.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBarrageView.m | |
| 3 | +// CNLivePlayer_Example | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/8/20. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNLiveBarrageView.h" | |
| 10 | + | |
| 11 | +@implementation CNLiveBarrageView | |
| 12 | + | |
| 13 | +/* | |
| 14 | +// Only override drawRect: if you perform custom drawing. | |
| 15 | +// An empty implementation adversely affects performance during animation. | |
| 16 | +- (void)drawRect:(CGRect)rect { | |
| 17 | + // Drawing code | |
| 18 | +} | |
| 19 | +*/ | |
| 20 | + | |
| 21 | +@end | ... | ... |
CNLivePlayer/Classes/Header/CNLivePlayerConst.h
| ... | ... | @@ -10,7 +10,9 @@ |
| 10 | 10 | #define CNLivePlayerConst_h |
| 11 | 11 | |
| 12 | 12 | #define CNLivePlayer_AppId @"60_irn9edco29" |
| 13 | + | |
| 13 | 14 | #define CNLivePlayer_AppKey @"69fe70bda67e059286ad509d9f5377f815955645b52f94" |
| 15 | + | |
| 14 | 16 | #define CNLivePlayer_BundleID @"com.cnlive.video" |
| 15 | 17 | |
| 16 | 18 | #endif /* CNLivePlayerConst_h */ | ... | ... |