5
가능한 중복 :
Semicolon after the method name in Objective-C implementation fileObjective-C가 메서드 정의의 끝에서 세미콜론을 허용하는 이유는 무엇입니까?
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
이유는 추가; 함수의 끝에 또한 맞습니까?
감사합니다. NEXTStep의 많은 역사를 알 것 같습니다. – ZYiOS