// // HomeRecentCourseView.h // KulexiuForTeacher // // Created by 王智 on 2022/5/10. // #import #import "RecentCourseModel.h" typedef NS_ENUM(NSInteger, RECENTCOURSE_TYPE) { RECENTCOURSE_TYPE_LIVE, RECENTCOURSE_TYPE_ACCOMPANY, RECENTCOURSE_TYPE_MUSICCLASS, // 琴房 RECENTCOURSE_TYPE_VIP, }; typedef void(^RecentCourseAction)(RECENTCOURSE_TYPE type, RecentCourseModel * _Nonnull courseModel); NS_ASSUME_NONNULL_BEGIN @interface HomeRecentCourseView : UIView + (instancetype)shareInstance; - (void)configCourseMessage:(RecentCourseModel *)model; - (void)joinRoom:(RecentCourseAction)callback; + (CGFloat)getViewHeight; @end NS_ASSUME_NONNULL_END