首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
C
请问一 property NSstring 的变量,第二个值传什么?
lisonfan
·
2015-04-10 17:16:35 +08:00
· 700 次点击
这是一个创建于 3605 天前的主题,其中的信息可能已经有所发展或是发生改变。
retain还是copy?
NSString
变量
retain
2 条回复
1
fannheyward
2015-04-10 17:32:56 +08:00
1
copy.
http://stackoverflow.com/a/388002/380774
2
lisonfan
OP
2015-04-10 17:55:05 +08:00
@
fannheyward
thank you
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2841 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms ·
UTC 03:20
·
PVG 11:20
·
LAX 19:20
·
JFK 22:20
Developed with
CodeLauncher
♥ Do have faith in what you're doing.