//
// KWMGiftCardCell.m
// iCemarose
//
// Created by HouWeiBin on 16/9/28.
// Copyright © 2016年 kollway. All rights reserved.
//
#import "KWMGiftCardCell.h"
@implementation KWMGiftCardCell
- (void)awakeFromNib {
[super awakeFromNib];
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
-(void)onClickRemove:(id)sender{
if(self.delegate!=nil){
[self.delegate kwm_onClickRemove:self.giftCard];
}
}
-(void)setData:(BUYGiftCard *)giftCard{
self.giftCard = giftCard;
self.lbCardNum.text = [NSString stringWithFormat:@"******%@",self.giftCard.lastCharacters];
}
@end