开发者

How to reset a singleton in Objective-C?

开发者 https://www.devze.com 2023-03-11 13:21 出处:网络
The singleton contains plenty of variables. How to quickly reset the var开发者_C百科iables to nil or 0 ?

The singleton contains plenty of variables.

How to quickly reset the var开发者_C百科iables to nil or 0 ?

Thanks.


Write a method in the singleton that does it for you.

0

精彩评论

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