NotiferHeadView.h 625 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // NotiferHeadView.h
  3. // KulexiuForTeacher
  4. //
  5. // Created by 王智 on 2022/5/6.
  6. //
  7. #import <UIKit/UIKit.h>
  8. typedef NS_ENUM(NSInteger, NOTIFER_TYPE) {
  9. NOTIFER_TYPE_ALL,
  10. NOTIFER_TYPE_COURSE,
  11. NOTIFER_TYPE_SYSMSG,
  12. NOTIFER_TYPE_NOTICE,
  13. };
  14. typedef void(^NotiferChooseAction)(NOTIFER_TYPE type);
  15. NS_ASSUME_NONNULL_BEGIN
  16. @interface NotiferHeadView : UIView
  17. + (instancetype)shareIntance;
  18. - (void)configUnreadCountCourse:(NSInteger)courseCount sysMessage:(NSInteger)sysMessageCount noticeCount:(NSInteger)noticeCount;
  19. - (void)chooseTypeCallback:(NotiferChooseAction)callback;
  20. @end
  21. NS_ASSUME_NONNULL_END