Re: Newbie: Include file Loop!
Re: Newbie: Include file Loop!
- Subject: Re: Newbie: Include file Loop!
- From: Jonathan Chaffer <email@hidden>
- Date: Tue, 24 Sep 2002 17:30:07 -0400
On Tuesday, September 24, 2002, at 05:17 PM, Jay Prince wrote:
#import "Bar.h"
@interface Foo : NSObject
Bar * myBar;
@end
#import "Foo.h"
@interface Bar: NSObject
Foo * my Foo;
@end
Only use the #imports in your implementation file. In the interface
file, use
@class Bar;
@interface Foo : NSObject
Bar * myBar;
@end
and
@class Foo;
@interface Bar : NSObject
Foo * myFoo;
@end
instead.
--
Jonathan Chaffer
Applications Developer, structure:interactive
(616) 364-7423
http://www.structureinteractive.com/
_______________________________________________
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.