I am new to Objective-c.I want to know the retain count of the following objects and also I would like to know the process also how it is working. I studied so many documents and watched tutorials also but this doubt remains me like that only.
NSString *str1=@"Hai";
NSString *str2=str1;
NSSstring *str3=[str2 copy];
What is the retain count of that "three strings"?
Sorry for my horrible English. Can anyone please tell me the answer. Thanks