// // KWMAddressView.h // iCemarose // // Created by HouWeiBin on 16/9/2. // Copyright © 2016年 kollway. All rights reserved. // #import <UIKit/UIKit.h> #import "Buy/Buy.h" @class KWMAddressCell; @protocol KWMAddressCellDelegate <NSObject> - (void)kwm_onClickDeleteBtnWith:(BUYAddress *)address; - (void)kwm_onClickEditBtnWith:(BUYAddress *)address; @end @interface KWMAddressCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *lbName; @property (weak, nonatomic) IBOutlet UILabel *lbPhone; @property (weak, nonatomic) IBOutlet UILabel *lbAddress; @property (weak, nonatomic) IBOutlet UILabel *lbAddressDetail; @property (weak, nonatomic) IBOutlet UIButton *btnEdit; @property (weak, nonatomic) IBOutlet UIButton *btnDelete; @property (nonatomic) BUYAddress *address; @property (weak, nonatomic) id<KWMAddressCellDelegate>delegate; -(void)setData:(BOOL)isShowEdit; - (IBAction)onClickDelete:(id)sender; - (IBAction)onClickEdit:(id)sender; @end