I write an instance method in ClassName.m:
-(void)methodName:(paraType)parameter
{...}
And call it using
[self methodName:parameter];
A warning will pop up, but the code still runs successfully.
Is this because I haven't created an instance of the class? Why the method still runs normally? And what is the correct way to call self method to prevent the warning?