YBDayTaskCell.h 728 B

12345678910111213141516171819202122232425262728
  1. //
  2. // YBDayTaskCell.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2020/10/9.
  6. // Copyright © 2020 cat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @protocol dailyCellDelegate <NSObject>
  10. -(void)stateBtnClick:(NSDictionary *)data;
  11. @end
  12. @interface YBDayTaskCell : UITableViewCell
  13. @property (strong, nonatomic) IBOutlet UILabel *titleLb;
  14. @property (strong, nonatomic) IBOutlet UILabel *contentLb;
  15. @property (strong, nonatomic) IBOutlet UIButton *stateBtn;
  16. @property (strong, nonatomic) IBOutlet UILabel *lineLb;
  17. @property (nonatomic, assign)id<dailyCellDelegate>delegate;
  18. @property (strong, nonatomic) NSDictionary *dataDic;
  19. +(YBDayTaskCell*)cellWithTab:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath;
  20. @end