单军华
2018-03-29 89d748b77b478905732e60f0b4c5807c274b6565
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
//
//  RadioButton.h
//  GoldRich
//
//  Created by WindShan on 2017/2/15.
//  Copyright © 2017年 WindShan. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
 
@protocol RadioButtonDelegate <NSObject>
 
@optional
 
- (void)didSelectedRadioButton:(id)sender groupId:(NSString *)groupId;
 
@end
 
@interface RadioButton : UIButton
 
@property(nonatomic, assign)id<RadioButtonDelegate>     delegate;
@property(nonatomic, copy, readonly)NSString            *groupId;
@property(nonatomic, assign)BOOL checked;
 
- (id)initWithDelegate:(id)delegate groupId:(NSString*)groupId;
 
- (void)setImageName:(NSString *)normalName selImage:(NSString *)selName;
 
@end