摘要: 在iPhone开发中,使用全局变量有这么几种实现方法:1、在AppDelegate中声明并初始化全局变量然后在需要使用该变量的地方插入如下的代码://取得AppDelegate,在iOS中,AppDelegat被设计成了单例模式xxxAppDelegate *appDelegate = [[UIAp... 阅读全文
posted @ 2014-04-30 15:11 yulang 阅读(368) 评论(0) 推荐(0)