转自:http://www.oschina.net/question/54100_33881
NSObject *obj = @"A string or other object.";NSLog([NSString stringWithFormat:@"%@",obj]);// 有警告NSLog([NSString stringWithFormat:@"%@",obj],nil);// 解决方案
本文共 250 字,大约阅读时间需要 1 分钟。
转自:http://www.oschina.net/question/54100_33881
NSObject *obj = @"A string or other object.";NSLog([NSString stringWithFormat:@"%@",obj]);// 有警告NSLog([NSString stringWithFormat:@"%@",obj],nil);// 解决方案
转载于:https://www.cnblogs.com/wangpei/p/3517681.html