Forgot one nil return condition
parent
83d59d0c13
commit
3921d51df5
|
@ -17,7 +17,7 @@
|
|||
int value;
|
||||
|
||||
if(nil == object || NO == [object isKindOfClass:[NSNumber class]]) {
|
||||
return nil;
|
||||
return [NSString string];
|
||||
}
|
||||
|
||||
value = [object intValue];
|
||||
|
|
Loading…
Reference in New Issue