阅读背景:

如何计算自应用程序启动以来加载视图的次数?

来源:互联网 

Some methods of my class need to know how many times the class has been loaded. Do I need a Singleton for this, or are there other ways to do this? Are there static variables that I can attach to the class and then just increment them every time a viewDidLoad?Some methods of my class need to know how many




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: