strong(在LLVM编译器中)和retain(在GCC编译器中)之间有什么区别?
strong
is a new feature in iOS 5 Automatic Reference Counting (ARC) which behave the same as retain
in iOS 4. Referenced Article.
Also, check out this other SO question: @property definitions with ARC: strong or retain?
strong is a new keyword that was introduced along with arc (automatic reference counting). There are a bazillion articles about it if you search google, including this one http://cupsofcocoa.com/2011/11/27/the-jungle-part-4-automatic-reference-counting/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.