[英]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.