开发者

How to release NSString?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜