在写OC类时,不小心写错一句。问题很严重啊。
.h
@interface OC :NSObject
@end;
.m
@implementation OC
- (viod)dealloc
{
[super dealloc]; //OK
[super release];//Error don't use release. it will appove "warning: Unable to restore previously selected frame"
}
@end;