123456789101112131415161718192021222324252627282930313233 |
- //
- // HomeCourseTipsView.h
- // KulexiuForStudent
- //
- // Created by 王智 on 2022/4/22.
- //
- #import <UIKit/UIKit.h>
- #import "RecentCourseModel.h"
- typedef NS_ENUM(NSInteger, COURSETYPE) {
- COURSETYPE_ACCOMPANY, // 陪练课
- COURSETYPE_LIVE, // 直播课
- COURSETYPE_MUSICROOM, // 琴房课
- };
- typedef void(^HomeCourseCallback)(COURSETYPE type, RecentCourseModel * _Nonnull courseModel);
- NS_ASSUME_NONNULL_BEGIN
- @interface HomeCourseTipsView : UIView
- + (instancetype)shareInstance;
- - (void)configWithCourseMessage:(RecentCourseModel *)source;
- - (void)joinRoomCallback:(HomeCourseCallback)callback;
- + (CGFloat)getViewHeight;
- @end
- NS_ASSUME_NONNULL_END
|