iPhone & Cocoa
[iPhone] 특정 초기화함수를 사용할 수 없도록 하는 방법
iwoohaha
2009. 7. 3. 14:29
반응형
- (id)init
{
[self dealloc];
@throw [NSException exceptionWithName:@"BNRBadInitCall" reason:@"Initialize URLDownloader with initWithServerURL:" userInfo:nil];
return nil;
}
{
[self dealloc];
@throw [NSException exceptionWithName:@"BNRBadInitCall" reason:@"Initialize URLDownloader with initWithServerURL:" userInfo:nil];
return nil;
}
반응형