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. g ++和gcc有什么区别?
- 3. GCC和LD链接有什么区别?
- 4. make和gcc有什么区别?
- 5. Xcode 3.2中的@property(nonatomic,retain)和Xcode 4.2中的@property(strong,nonatomic)之间的区别
- 6. [[alloc] init]和[[thing] retain]之间有什么区别?
- 7. LLVM中的libC++和libC++ abi库有什么区别?
- 8. 在Prolog中==和= =有什么区别?
- 9. =和在mysql中有什么区别?
- 10. `|。有什么区别? `和`|| `在java中?
- 11. &和|有什么区别?在Linux中?
- 12. |有什么区别?和||在MATLAB中?
- 13. 〜/和〜在linux中有什么区别?
- 14. *和。*在matlab中有什么区别?
- 15. < - 和=在data.frame中有什么区别?
- 16. 在PHP中!==和!=有什么区别?
- 17. &&和||有什么区别?在JavaScript中?
- 18. 在Ember.js中,[]和Ember.A([])有什么区别?
- 19. 在JavaScript中,'\'和'\ n'有什么区别?
- 20. !=和=!有什么区别!在Java中?
- 21. 有什么区别`和$(Bash中有什么区别?
- 22. arm-eabi-gcc和arm-elf-gcc有什么区别?
- 23. some-prefix-gcc和gcc之间有什么区别--target = some-prefix?
- 24. windows的gcc端口中的thread_posixs和thread_win32有什么区别?
- 25. -m32,-m64和gcc的选项中没有什么区别?
- 26. gcc的__sync和__atomic内在函数有什么区别
- 27. alloc,retain和copy之间的区别是什么
- 28. -L/libpath和/etc/ld.so.conf配置在gcc/g ++中编译的libpath有什么区别
- 29. 别名和标签有什么区别? (一般和在git中)
- 30. “Clang与Microsoft CodeGen”和“LLVM-vs2014”有什么区别?
[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