个播房上划加载下一个房间完成

This commit is contained in:
chenguilong
2022-07-14 17:16:33 +08:00
parent d1f86a8ae9
commit 81a0c20af6
69 changed files with 999 additions and 571 deletions

View File

@@ -6,15 +6,14 @@
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
#import "NetImageView.h"
@class AnchorRoomScrollView;
@protocol AnchorRoomScrollViewDelegate <NSObject>
///滚动到下一个时回调
- (void)anchorScrollView:(AnchorRoomScrollView *)anchorScrollView currentPlayerIndex:(NSInteger)index;
- (void)anchorScrollViewScrollToNext:(AnchorRoomScrollView *)anchorScrollView;
///开始停止
- (void)anchorScrollVieStartScroll:(AnchorRoomScrollView *)anchorScrollView;
///滚动停止
@@ -25,14 +24,11 @@ NS_ASSUME_NONNULL_BEGIN
@interface AnchorRoomScrollView : UIScrollView
@property (nonatomic, assign) id<AnchorRoomScrollViewDelegate> anchorScrollDelegate;
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, strong) UIImageView *upperImageView;
@property (nonatomic, strong) UIImageView *middleImageView;
@property (nonatomic, strong) NetImageView *middleImageView;
- (instancetype)initWithFrame:(CGRect)frame;
- (void)updateForLives:(NSMutableArray *)livesArray withCurrentIndex:(NSInteger) index;
- (void)updateForAnchorRoomList:(NSMutableArray *)roomArray;
@end
NS_ASSUME_NONNULL_END