| 123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // DetailTopicCellTableViewCell.h
- // iShop
- //
- // Created by Rui Zhang on 2/26/24.
- //
- #import <UIKit/UIKit.h>
- @class DetailTopicCell;
- @protocol DetailRelatedCellDelegate <NSObject>
- @required
- - (void) TopicItemClicked:(NSString*) product_id category:(NSString*) category;
- //- (void) LongPress:(UIView*)view row:(int) x column:(int) y;
- //- (void) LongPress:(UIView*)view row:(int) x;
- //- (void) Tap:(UIView*)view row:(int) x column:(int) y;
- //- (void) Tap:(UIView*)view row:(int) x;
- @end
- @interface DetailTopicCell : UITableViewCell<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
- {
- @private
- // id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
- id <DetailRelatedCellDelegate> __weak itemdelegate;
- }
- @property (strong, nonatomic) IBOutlet UICollectionView *topicCollectionView;
- @property (weak, nonatomic) id <DetailRelatedCellDelegate> itemdelegate;
- @property (strong, nonatomic) NSDictionary* related_data;
- -(void) begin_refresh;
- -(void) end_refresh;
- @property (strong, nonatomic) IBOutlet UILabel *refreshLabel;
- @end
|