29 lines
635 B
Objective-C
29 lines
635 B
Objective-C
//
|
|
// XPMineGameTableViewCell.h
|
|
// xplan-ios
|
|
//
|
|
// Created by GreenLand on 2022/7/22.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
@class LittleGameInfoModel, XPMineGameTableViewCell;
|
|
@protocol XPMineGameTableViewCellDelegate <NSObject>
|
|
|
|
///选择了某个item
|
|
- (void)xPMineGameTableViewCell:(XPMineGameTableViewCell *)cell didSelectItem:(LittleGameInfoModel *)item;
|
|
|
|
@end
|
|
|
|
@interface XPMineGameTableViewCell : UITableViewCell
|
|
|
|
///数据
|
|
@property (nonatomic,strong) NSArray<LittleGameInfoModel *> *datasource;
|
|
///代理
|
|
@property (nonatomic,weak) id<XPMineGameTableViewCellDelegate> delegate;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|