Why is the keyword "strong" used for a property in a non-ARC environment?

I just started developing with Xcode 4.2 and iOS5. After creating an empty tabbed app project, I noticed that the new β€œstrong” keyword is used for properties. I read in this post about this related to saving the replacement in the ARC environment, but this is not the case because I did not check the box "Use automatic reference counting".

+6
source share
1 answer

The keyword Strong is synonymous with save in non-ARC environments.

For ARC-envs read here: http://clang.llvm.org/docs/AutomaticReferenceCounting.html#ownership.spelling.property

+7
source

Source: https://habr.com/ru/post/899435/


All Articles