个播房上下滑动
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// AnchorRoomScrollView.h
|
||||
// xplan-ios
|
||||
//
|
||||
// Created by GreenLand on 2022/7/11.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class AnchorRoomScrollView;
|
||||
|
||||
@protocol AnchorRoomScrollViewDelegate <NSObject>
|
||||
|
||||
- (void)anchorScrollView:(AnchorRoomScrollView *)anchorScrollView currentPlayerIndex:(NSInteger)index;
|
||||
|
||||
@end
|
||||
|
||||
@interface AnchorRoomScrollView : UIScrollView
|
||||
|
||||
@property (nonatomic, assign) id<AnchorRoomScrollViewDelegate> anchorScrollDelegate;
|
||||
@property (nonatomic, assign) NSInteger index;
|
||||
@property (nonatomic, strong) UIImageView *upperImageView;
|
||||
@property (nonatomic, strong) UIImageView *middleImageView;
|
||||
|
||||
- (instancetype)initWithFrame:(CGRect)frame;
|
||||
|
||||
- (void)updateForLives:(NSMutableArray *)livesArray withCurrentIndex:(NSInteger) index;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
Reference in New Issue
Block a user