1234567891011121314151617181920212223242526272829303132333435 |
- //
- // HomeRecentCourseView.h
- // KulexiuForTeacher
- //
- // Created by 王智 on 2022/5/10.
- //
- #import <UIKit/UIKit.h>
- #import "RecentCourseModel.h"
- typedef NS_ENUM(NSInteger, RECENTCOURSE_TYPE) {
- RECENTCOURSE_TYPE_LIVE,
- RECENTCOURSE_TYPE_ACCOMPANY,
- RECENTCOURSE_TYPE_MUSICCLASS, // 琴房
- RECENTCOURSE_TYPE_GROUP, // 小组课
- 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
|