如果我首先调用超类的方法,或者最后调用这个方法有什么关系?例如是否在ObjectiveC中调用超类问题的方法?
-(void)didReceiveMemoryWarning {
/* do a bunch of stuff */
[super didReceiveMemoryWarning];
}
与
-(void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
/* do a bunch of stuff */
}
其他方法,如viewWillAppear中,willRotateToInterfaceOrientation等同样的问题
我寻找有意义的差异,不只是风格,或哲学(虽然这些都是值得欢迎太)。
您如何对该评估中的willRotateToInterfaceOrientation进行分类? – fnCzar 2009-06-17 20:32:06