开发者

when to use retainCount (never, and why) [duplicate]

开发者 https://www.devze.com 2023-02-26 09:30 出处:网络
This question already has answers here: 开发者_开发问答Closed 11 years ago. Possible Duplicate: When to use -retainCount ?
This question already has answers here: 开发者_开发问答 Closed 11 years ago.

Possible Duplicate:

When to use -retainCount ?

when to use retainCount (never, and why)


NSObject retainCount is simply a "what's under the hood" curiosity and possibly debugging aid. You don't want to care what the actual value is for production. Code beyond your direct control could be retaining/releasing changing the value.

0

精彩评论

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