Q:

How can I call a method from other Objective-C class?

Let's say, in a.h file:
-(void)show;

in a.m file:
-(void)show{

//....

}

In b.m:
[self show];

How can I call show from b.m? I imported a.h by guess, but it has no effect.

A:

In order to call a method you need an instance of the object on which you call that method. For example, if your file a.h has a class MyClassA, then the call of show would look like this:
MyClassA *instanceA = [[MyClassA alloc] init];
[instanceA show];

