KWMAddressCell.h 984 Bytes
Newer Older
houweibin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
//
//  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