How do we release NSString that is not alloc or evern other objects?
Example:
NSString *test = @"testing";
Thanks f开发者_Python百科or your help.
You don't. You just release the objects you own. You own the object if you used alloc, copy or new keywords when instantiating them.
精彩评论