1234567891011121314151617181920212223242526272829303132333435 |
- //
- // MyTableView.h
- // 老淘宝详情
- //
- // Created by Kobe24 on 2018/3/8.
- // Copyright © 2018年 SYD. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @class ChannelModel;
- @class DocumentModel;
- @protocol MyTableViewDelegate <NSObject>
- - (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<MyTableViewDelegate> delegate;
- - (instancetype)initWithTabMyConfigArray:(NSArray<ChannelModel *> *)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
|