阅读背景:

如何在应用设置中全局访问?

来源:互联网 

I have some in app settings, all of which are very basic, and I am needing to access them throughout my entire app. I have it setup where those settings are saved to NSUserDefaults. My question is if the best way to access them is having to load from NSUserDefaults every time an instance of a class loads or if it's better to have it loaded once somewhere and somehow access that global data from everywhere. How could I go about doing the latter if that is the best option?I have some in app settings, all of which are v




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

分享到: