Method parameters (void) vs no void declaration (error from compiler)
Why the compiler gives an error in this case of method declaration -
-(void) someMethod (void);
But approves this -
-(void) someMethod;
(SomeClass.h)
I've read that it is better to declare (void) in parameters than not
declaring, but probalby I miss some point.
No comments:
Post a Comment