Inter-Object Reference
Inter-Object Reference
- Subject: Inter-Object Reference
- From: Joannou Ng <email@hidden>
- Date: Sat, 10 Jan 2004 05:58:52 -0500
Hi all,
I have two objects that need to refer to each other like so:
#import <Foundation/Foundation.h>
#import "Second.h"
@interface First : NSObject {
Second *second;
}
@end
#import <Foundation/Foundation.h>
#import "First.h"
@interface Second : NSObject {
First *first;
}
@end
Obviously, it doesn't work.
Question is, how do I go about it then?
Cheers, Joannou.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.