开发者

How do I set/get cross-class variables?

I'm creating an application for the iPhone in which I need 开发者_运维技巧to transfer information from variables between views/classes. What is the best way to do this (without utilizing CoreData/persistent storage)?


Ok--so after more research I discovered Singletons. I implemented that as its own class, then every time I instantiated it, it saved as the correct variables.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜