Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between strong (in LLVM) and retain( in GCC)?

Tags:

ios

iphone

ios4

what is the difference between strong (in LLVM compiler) and retain( in GCC compiler) ?

like image 397
Matrix Avatar asked Apr 24 '12 13:04

Matrix


1 Answers

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?

like image 145
Domness Avatar answered Sep 22 '22 11:09

Domness