strong(在LLVM编译器中)和retain(在GCC编译器中)有什么区别?strong(在LLVM中)和retain(在GCC中)有什么区别?
7
A
回答
-1
strong是与弧(自动引用计数)一起引入的新关键字。有一个关于它的文章bazillion如果你搜索谷歌,包括这一个http://cupsofcocoa.com/2011/11/27/the-jungle-part-4-automatic-reference-counting/
10
strong
在iOS 5中自动引用一项新功能计数(ARC)的行为相同,retain
iOS中4 Referenced Article.
而且,看看这个其他的SO问题:@property definitions with ARC: strong or retain?
相关问题
- 1. 'gcc -g'和'gcc -g3'有什么区别?
- 2. GCC和LD链接有什么区别?
- 3. make和gcc有什么区别?
- 4. g ++和gcc有什么区别?
- 5. [[alloc] init]和[[thing] retain]之间有什么区别?
- 6. LLVM中的libC++和libC++ abi库有什么区别?
- 7. 在JavaScript中,'\'和'\ n'有什么区别?
- 8. =和在mysql中有什么区别?
- 9. 在Ember.js中,[]和Ember.A([])有什么区别?
- 10. 在PHP中!==和!=有什么区别?
- 11. *和。*在matlab中有什么区别?
- 12. !=和=!有什么区别!在Java中?
- 13. &&和||有什么区别?在JavaScript中?
- 14. 在Prolog中==和= =有什么区别?
- 15. 〜/和〜在linux中有什么区别?
- 16. 有什么区别`和$(Bash中有什么区别?
- 17. -m32,-m64和gcc的选项中没有什么区别?
- 18. alloc,retain和copy之间的区别是什么
- 19. 别名和标签有什么区别? (一般和在git中)
- 20. “Clang与Microsoft CodeGen”和“LLVM-vs2014”有什么区别?
- 21. 为什么在%中使用合并和%有什么区别?
- 22. 什么意思是“:”在<%中:和<%=有什么区别?
- 23. 在doxygen中,/// <&///有什么区别?
- 24. 这些在C++中有什么区别?
- 25. Mac OSX Retain Release Strong等
- 26. 段,卷和分区有什么区别?(在存储域中)
- 27. 在Purescript; - >和=>有什么区别?
- 28. 有什么区别&和@在SASS
- 29. 有什么区别使用=和:在javascript
- 30. 有什么区别?和*在Bash?
[Objective-C ARC:strong vs retain和weak vs assign可能重复](http://stackoverflow.com/questions/8927727/objective-c-arc-strong- vs-retain-and-weak-vs-assign) – 2012-04-24 16:58:06
请参阅[使用ARC的@property定义:强或保留?](http://stackoverflow.com/questions/7796476/p roperty-definitions-with-arc-strong-or-retain) – 2012-04-24 16:58:25
谢谢@BradLarson – Matrix 2012-04-26 08:49:46