阅读背景:

【原】自定义tableviewcell中多个button点击实现不同功能

来源:互联网 
#import <UIKit/UIKit.h>

@protocol TableCellDelegate <NSObject>

- (void)choseTerm:(UIButton *)button;

@end

@interface TableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIButton *checkButton;
@property (weak, nonatomic) IBOutlet UIButton *checkButton2;
@property (weak, nonatomic) IBOutlet UILabel *label;

@property (assign, nonatomic) BOOL  isChecked;
@property (assign, nonatomic) id<TableCellDelegate> delegate;

- (IBAction)checkAction:(UIButton *)sender;
- (IBAction)checkAction2:(UIButton *)sender;
#import <UIKit/UIKit.h>

@protocol TableCel



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: