[英]what is the difference between strong (in LLVM) and retain( in GCC)?
strong(在LLVM编译器中)和retain(在GCC编译器中)之间有什么区别?
strong
是iOS 5自动引用计数(ARC)中的一项新功能,其行为与iOS 4中的retain
相同。参考文章。
另外,请查看其他SO问题: @property定义与ARC:强还是保留?
strong是与arc一起引入的新关键字(自动引用计数)。 如果你搜索谷歌有很多关于它的文章,包括这篇文章http://cupsofcocoa.com/2011/11/27/the-jungle-part-4-automatic-reference-counting/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.