博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Xcode 警告信息处理:Format string is not a string literal (potentially insecure)
阅读量:4353 次
发布时间:2019-06-07

本文共 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

你可能感兴趣的文章
Convert Sorted List to Binary Search Tree
查看>>
Leetcode:Unique Binary Search Trees
查看>>
D3.js 绘制散点图
查看>>
HTML—链接
查看>>
将进程设置为守护进程
查看>>
用连接池提高Servlet访问数据库的效率
查看>>
luogu P1494 [国家集训队]小Z的袜子 ( 普 通 )
查看>>
树的数据结构
查看>>
MyEclipse导入Color Theme
查看>>
SQL Server2012完全备份、差异备份、事务日志备份和还原操作
查看>>
Flash动画播放
查看>>
springmvc+mybatis+dubbo+zookeeper 分布式架构
查看>>
HDUOJ-----Computer Transformation
查看>>
HDUOJ-----2838Cow Sorting(组合树状数组)
查看>>
自定义控件之---抽屉式弹窗控件.
查看>>
一款纯css3实现的机器人看书动画效果
查看>>
加班与效率
查看>>
轻量级Modal模态框插件cta.js
查看>>
MyEclipse下SpringBoot+JSP整合过程及踩坑
查看>>
重定向和管道
查看>>