@protocol XMGWineCellDelegate <NSObject>
@optional
- (void)wineCellDidClickPlusButton:(XMGWineCell *)cell;
- (void)wineCellDidClickMinusButton:(XMGWineCell *)cell;
@end
@interface XMGWineCell : UITableViewCell
/** 模型*/
@property (nonatomic, strong) XMGWine *wine;
/** 代理属性*/
@property (nonatomic, weak) id<XMGWineCellDelegate> delegate;
@end
网友评论