123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // FwzBaseView.h
- // smartRhino
- //
- // Created by tederen on 2019/11/12.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @class ChannelModel;
- @class DocumentModel;
- @protocol FwzBaseViewDelegate <NSObject>
- /// 屏蔽不感兴趣的
- //- (void)didCloseAddButtonChannel:(ChannelModel *)channelModel andWith:(DocumentModel*)documentModel;
- - (void)didCloseAddButtonChannel:(ChannelModel *)channelModel andWith:(Item*)documentModel;
- /// 点击要进入下一页 文章
- - (void)didClickAddButtonChannel:(ChannelModel *)channelModel andWith:(Item*)documentModel;
- /// 点击要进入下一页 待办事项
- - (void)didClickWaitWorkChannel:(ChannelModel *)channelModel andWith:(HomeWaitWorkModel*)documentModel;
- @end
- @interface FwzBaseView : UIView<UITableViewDelegate,UITableViewDataSource>
- @property (nonatomic, strong) HomeArticleModel *artModel;
- @property (nonatomic, strong) TDWaitWorkModel *waitModel;
- @property (nonatomic, strong) UITableView *tableView;
- @property (nonatomic, weak) id<FwzBaseViewDelegate>delegate;
- @property (nonatomic, assign) BOOL canScroll;
- - (void)renderUIWithInfoChannelId:(NSInteger)channelId withFrame:(CGRect) frame;
- - (void)reloadData;
- - (instancetype)initWithFrame:(CGRect)frame channel:(NSInteger)channel ChannelId:(NSInteger)channelId;
- @end
- NS_ASSUME_NONNULL_END
|