labelMap
This commit is contained in:
parent
9709c7195d
commit
d2d4c30cf6
@ -69,7 +69,7 @@ static const CGFloat CheckBoxHeightWidth = 18.0;
|
|||||||
} else {
|
} else {
|
||||||
[self setupWithCheckedColor:checkedColor
|
[self setupWithCheckedColor:checkedColor
|
||||||
unCheckColor:unCheckedColor
|
unCheckColor:unCheckedColor
|
||||||
label:[json dict:KeyLabel]
|
label:[json dict:@"labelMap"]
|
||||||
delegateObject:delegateObject
|
delegateObject:delegateObject
|
||||||
additionalData: additionalData];
|
additionalData: additionalData];
|
||||||
}
|
}
|
||||||
@ -118,6 +118,14 @@ static const CGFloat CheckBoxHeightWidth = 18.0;
|
|||||||
|
|
||||||
#pragma mark - inits
|
#pragma mark - inits
|
||||||
|
|
||||||
|
- (instancetype)init {
|
||||||
|
self = [super init];
|
||||||
|
if (self) {
|
||||||
|
[self setupView];
|
||||||
|
}
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
- (instancetype)initWithCheckedColor:(UIColor *)checkedColor unCheckColor:(UIColor *)unCheckedColor text:(NSString *)text {
|
- (instancetype)initWithCheckedColor:(UIColor *)checkedColor unCheckColor:(UIColor *)unCheckedColor text:(NSString *)text {
|
||||||
if (self = [super init]) {
|
if (self = [super init]) {
|
||||||
[self setupWithCheckedColor:checkedColor unCheckColor:unCheckedColor text:text];
|
[self setupWithCheckedColor:checkedColor unCheckColor:unCheckedColor text:text];
|
||||||
@ -255,7 +263,6 @@ static const CGFloat CheckBoxHeightWidth = 18.0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)setupWithCheckedColor:(UIColor *)checkedColor unCheckColor:(UIColor *)unCheckedColor {
|
- (void)setupWithCheckedColor:(UIColor *)checkedColor unCheckColor:(UIColor *)unCheckedColor {
|
||||||
[self setupView];
|
|
||||||
if (checkedColor) {
|
if (checkedColor) {
|
||||||
self.checkedColor = checkedColor;
|
self.checkedColor = checkedColor;
|
||||||
}
|
}
|
||||||
@ -269,7 +276,7 @@ static const CGFloat CheckBoxHeightWidth = 18.0;
|
|||||||
[self setDescriptionText:text];
|
[self setDescriptionText:text];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setupWithCheckedColor:(UIColor *)checkedColor unCheckColor:(UIColor *)unCheckedColor label:(NSDictionary *)labelJson delegateObject:(DelegateObject *)delegateObject additionalData:(NSDictionary *)additionalData{
|
- (void)setupWithCheckedColor:(UIColor *)checkedColor unCheckColor:(UIColor *)unCheckedColor label:(NSDictionary *)labelJson delegateObject:(DelegateObject *)delegateObject additionalData:(NSDictionary *)additionalData {
|
||||||
[self setupWithCheckedColor:checkedColor unCheckColor:unCheckedColor];
|
[self setupWithCheckedColor:checkedColor unCheckColor:unCheckedColor];
|
||||||
[self.descriptionLabel setWithJSON:labelJson delegateObject:delegateObject additionalData:additionalData];
|
[self.descriptionLabel setWithJSON:labelJson delegateObject:delegateObject additionalData:additionalData];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user