摘要: - (id)foo { return foo;}- (void)setFoo:(id)aFoo { if(aFoo != foo) { [aFoo retain]; [foo release]; foo = aFoo; }}@property@synthesize in the implementation fileButton_FunViewController.mwe will tell the compiler to create the getter and setter methods at compile time. 阅读全文
posted @ 2012-09-16 11:53 顺武 阅读(315) 评论(0) 推荐(0) 编辑
摘要: ios5没有releasenil你有一个指针,它的值是零C结果体和对象的区别the different between heap and stack类方法以+开头可变复制发送信息有一个出现在屏幕上和离开屏幕的周期你的控制器的视图会修改自己的框架你的控制器能执行名为shouldAutorotateToInterfaceOrientation并返回结果UI 阅读全文
posted @ 2012-09-16 11:28 顺武 阅读(134) 评论(0) 推荐(0) 编辑