If A is the delegate class of the application you can get the good instance using this [[NSApplication sharedApplication]delegate]
, instead of creating a new instance.
Otherwise, you should make class A a singleton.
Take a lock at this example http://www.galloway.me.uk/tutorials/singleton-classes/