I am accessing instance method in a class method by using self in singleton class it shows error, but if I try to access instance method with parameter using self then its perfectly working, so basically i want to know the reason, why i am not able to access this.
-(void)someMethodA:(NSString *)paramA withParamB:(NSString *)paramB;
if i try to use "someMethodA" with self then it works perfectly fine, but accessing "someMethodB" using self it gives error
[self someMethodA:@"string" withParamB:@"string"]; works fine
[self someMethodB]; gives error