NSInteger 和 %@ By Ryukie Published 2018-04-03 Contents 1. NSInteger 和 %@ NSInteger 和 %@12NSInteger age = 12;NSString *str = age ? [NSString stringWithFormat:@"%@",age] : @""; 上面代码看起来问题在%@,但最大的问题还在后面. 运行起来会崩溃 这里用%@,会去掉用description方法而NSInteger没有