// // HBHomeViewController.h // HiBit // // Created by HI_LOSER on 2024/6/7. // #import "HBViewController.h" #import "GKDYVideoModel.h" #import #import "GKDYVideoScrollView.h" NS_ASSUME_NONNULL_BEGIN @class HBHomeViewController; @protocol HBHomeViewControllerDelegate @optional; - (void)playerVCDidClickShoot:(HBHomeViewController *)playerVC; //- (void)playerVC:(HBHomeViewController *)playerVC controlView:(GKDYVideoControlView *)controlView isCritical:(BOOL)isCritical; - (void)playerVC:(HBHomeViewController *)playerVC didDragDistance:(CGFloat)distance isEnd:(BOOL)isEnd; - (void)playerVC:(HBHomeViewController *)playerVC cellZoomBegan:(GKDYVideoModel *)model; - (void)playerVC:(HBHomeViewController *)playerVC cellZoomEnded:(GKDYVideoModel *)model isFullscreen:(BOOL)isFullscreen; - (void)playerVC:(HBHomeViewController *)playerVC commentShowOrHide:(BOOL)show; @end @interface HBHomeViewController : HBViewController @property (nonatomic, weak) id delegate; @property (nonatomic, copy) NSString *tab; @property (nonatomic, strong) GKDYVideoModel * model; - (void)refreshData:(nullable void(^)(void))completion; -(instancetype)initWithVideoId:(NSInteger)sid; @end NS_ASSUME_NONNULL_END