MyTableView.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // MyTableView.h
  3. // 老淘宝详情
  4. //
  5. // Created by Kobe24 on 2018/3/8.
  6. // Copyright © 2018年 SYD. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class ChannelModel;
  10. @class DocumentModel;
  11. @protocol MyTableViewDelegate <NSObject>
  12. - (void)didClickAddButtonChannel:(NSIndexPath *)indexPath;
  13. /// 点击 文章列表 进入下一页 MyTableView
  14. - (void)didClickChanageChannel:(ChannelModel *)channelModel andWith:(Item *)documentModel;
  15. - (void)didCloseChannel:(ChannelModel *)channelModel andWith:(Item *)documentModel;
  16. /// 点击 待办事项 进入下一页 MyTableView
  17. - (void)didClickWaitWorkChannnel:(ChannelModel *)channelModel andWith:(HomeWaitWorkModel *)documentModel;
  18. @end
  19. @interface MyTableView : UIView
  20. @property (nonatomic, strong) HomeArticleModel *model;
  21. @property (nonatomic, strong) TDWaitWorkModel *waitModel;
  22. @property (nonatomic, strong) NSIndexPath *index;
  23. @property (nonatomic, weak) id<MyTableViewDelegate> delegate;
  24. - (instancetype)initWithTabMyConfigArray:(NSArray<ChannelModel *> *)tabConfigarray;
  25. - (void)loadData:(HomeArticleModel *)model withWaitWorkArray:(TDWaitWorkModel *)waitModel;
  26. - (void)loadDataArray:(NSMutableArray *)modelArr withWaitWorkArray:(NSMutableArray *)waitArray withChannelArray:(NSMutableArray *)channelArray;
  27. - (void)loadDataWithIndex:(NSInteger)index;
  28. - (void)scrollTop;
  29. @end