Calling method from another class in Objective-C
I have `ViewController.h(m)` and `AnotherClass.h(m)`

In `ViewController.m` I have

    -(void)CoolMethod
    {
      //ololo
    }

In `AnotherClass.m` I have:

        #import ViewController.h
    //-----------
    
        -(void)SomeMethod
        {
            ViewController *vc = [[ViewController alloc] init];
            [vc CoolMethod];
        }

And... nothing happens. What am I doing wrong?

Calling method from another class in Objective-C
===

I have `ViewController.h(m)` and `AnotherClass.h(m)`

In `ViewController.m` I have

    -(void)CoolMethod
    {
      //ololo
    }

In `AnotherClass.m` I have:

        #import ViewController.h
    //-----------
    
        -(void)SomeMethod
        {
            ViewController *vc = [[ViewController alloc] init];
            [vc CoolMethod];
        }

And... nothing happens. What am I doing wrong?
