- (void) designImageViewNow; {
//some code here
}
Is it correct to write semicolon ;
just after the method name before body brackets in the implementation file objective-c.
Would this work?
As I am working on an iPhone app, I put the semicolon after the method name in one of my custom class by mistakenly. But there was no warning or any crash. In fact it is working fine.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…