Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what are the differences between __strong and strong, __weak and weak?

Tags:

ios

iphone

I am a noob in ios programming. Please, explain me the meaning for these __strong and __weak properties and why they are used?

like image 386
Rugmangathan Avatar asked Oct 29 '13 14:10

Rugmangathan


1 Answers

strong and weak are modifiers used in property declarations while __strong and __weak are used in declarations of variables.

like image 144
Nikolai Ruhe Avatar answered Oct 21 '22 05:10

Nikolai Ruhe