Here is my question.
NSString *xyz=[NSString stringWithFormat:@"%i %@",10,@"Sagar"];
Now I am taking other string, as follows.
NSString *x2=[xyz copy];
I exactly don't know what will happen here?
( Is it something like, x2 has the ref of xyz's ref. )
NSString *x3=[xyz retain];
( What will happen here, x3 has a new memory having copied string or [xyz copy] does that? )
Now, how to remove all these three strings from memory?
Thanks in advance.
sagar.