Sorry, couldn\'t find a more appropriate title.
In My code I have two classes which should know of each others existence. So I use an instance variable which points to t
you could remove the import from IRCConnection.h and use a @class statement instead.
IRCConnection.h
@class
like this:
#import @class MainMenuController; @interface IRCConnection : NSObject {
then add a #import "MainMenuController.h" to IRCConnection.m
#import "MainMenuController.h"
IRCConnection.m