FwzBaseView.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // FwzBaseView.h
  3. // smartRhino
  4. //
  5. // Created by tederen on 2019/11/12.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @class ChannelModel;
  11. @class DocumentModel;
  12. @protocol FwzBaseViewDelegate <NSObject>
  13. /// 屏蔽不感兴趣的
  14. //- (void)didCloseAddButtonChannel:(ChannelModel *)channelModel andWith:(DocumentModel*)documentModel;
  15. - (void)didCloseAddButtonChannel:(ChannelModel *)channelModel andWith:(Item*)documentModel;
  16. /// 点击要进入下一页 文章
  17. - (void)didClickAddButtonChannel:(ChannelModel *)channelModel andWith:(Item*)documentModel;
  18. /// 点击要进入下一页 待办事项
  19. - (void)didClickWaitWorkChannel:(ChannelModel *)channelModel andWith:(HomeWaitWorkModel*)documentModel;
  20. @end
  21. @interface FwzBaseView : UIView<UITableViewDelegate,UITableViewDataSource>
  22. @property (nonatomic, strong) HomeArticleModel *artModel;
  23. @property (nonatomic, strong) TDWaitWorkModel *waitModel;
  24. @property (nonatomic, strong) UITableView *tableView;
  25. @property (nonatomic, weak) id<FwzBaseViewDelegate>delegate;
  26. @property (nonatomic, assign) BOOL canScroll;
  27. - (void)renderUIWithInfoChannelId:(NSInteger)channelId withFrame:(CGRect) frame;
  28. - (void)reloadData;
  29. - (instancetype)initWithFrame:(CGRect)frame channel:(NSInteger)channel ChannelId:(NSInteger)channelId;
  30. @end
  31. NS_ASSUME_NONNULL_END