what is the difference between Copy and retain ?

Posted by senthilmuthu on Stack Overflow See other posts from Stack Overflow or by senthilmuthu
Published on 2010-03-08T05:35:34Z Indexed on 2010/03/08 5:36 UTC
Read the original article Hit count: 325

Filed under:
|

Hi, - (void)setString:(NSString*)newString {

    string = [newString copy];

} will u tell difference between copy and retain of NSString?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk