Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
660 views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...