#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
NSNumber *op1=@10;
NSNumber *op2=@12.34;
NSNumber *op3=@'A';
NSNumber *op4=@YES;
op1=[NSNumber numberWithInt:11];
op2=[NSNumber numberWithFloat:12.11];
op3=[NSNumber numberWithChar:'e'];
op4=[NSNumber numberWithBool:NO];
// @(age)
// @(ismale)
// if([dic[@"gender"] isEqual:@YES])
NSArray *arr=@[op1,op2,op3,op4];
for (NSString *str in arr) {
NSLog(@"%@",str);
}
}
return 0;
}