I have two different class objects that need to know about each other
(see below). But if I include the header from one class inside the
header of the other class the compiler complains. Is this even possible?
ClassOne.h:
----------------
#import "ClassTwo.h"
@interface ClassOne : NSObject {
ClassTwo *objectTwo;
}
@end
----------------
ClassTwo.h:
----------------
#import "ClassOne.h"
@interface ClassTwo : NSObject {
ClassOne *objectOne;
}
@end
----------------
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]