解决编译时出现的警告:format string is not a string literal (potentially insecure)┊
在Xcode 4.2(iOS 5)之前,我猜大家都和我一样很喜欢下面的调试输出写法:
?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
NSString *str = @"Attention";
// first warning
NSLog(s...
原创
2012-07-30 14:42:36 ·
2620 阅读 ·
0 评论