Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I just started to develop with with Xcode 4.2 and iOS5. After creating empty Tabbed application project, I have noticed that a new keyword "strong" is used on properties. I read on this post about it being related to retain replacement in ARC environment, but it's not the case because I didn't checked "Use Automatic Reference Counting" check box.

like image 713
Centurion Avatar asked Oct 17 '11 07:10

Centurion


1 Answers

The keyword "Strong" is a synonym for "retain" in non-ARC environments.

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

like image 108
Totumus Maximus Avatar answered Oct 15 '22 10:10

Totumus Maximus