// // MyTableView.h // 老淘宝详情 // // Created by Kobe24 on 2018/3/8. // Copyright © 2018年 SYD. All rights reserved. // #import @class ChannelModel; @class DocumentModel; @protocol MyTableViewDelegate - (void)didClickAddButtonChannel:(NSIndexPath *)indexPath; /// 点击 文章列表 进入下一页 MyTableView - (void)didClickChanageChannel:(ChannelModel *)channelModel andWith:(Item *)documentModel; - (void)didCloseChannel:(ChannelModel *)channelModel andWith:(Item *)documentModel; /// 点击 待办事项 进入下一页 MyTableView - (void)didClickWaitWorkChannnel:(ChannelModel *)channelModel andWith:(HomeWaitWorkModel *)documentModel; @end @interface MyTableView : UIView @property (nonatomic, strong) HomeArticleModel *model; @property (nonatomic, strong) TDWaitWorkModel *waitModel; @property (nonatomic, strong) NSIndexPath *index; @property (nonatomic, weak) id delegate; - (instancetype)initWithTabMyConfigArray:(NSArray *)tabConfigarray; - (void)loadData:(HomeArticleModel *)model withWaitWorkArray:(TDWaitWorkModel *)waitModel; - (void)loadDataArray:(NSMutableArray *)modelArr withWaitWorkArray:(NSMutableArray *)waitArray withChannelArray:(NSMutableArray *)channelArray; - (void)loadDataWithIndex:(NSInteger)index; - (void)scrollTop; @end