Re: Framework causing a problem
Re: Framework causing a problem
- Subject: Re: Framework causing a problem
- From: Daniel Todd Currie <email@hidden>
- Date: Sat, 14 Feb 2004 01:23:31 -0800
This may or may not solve your problem, but I'd recommend sticking to
just importing <Cocoa/Cocoa.h>. Cocoa.h will import the entire
Foundation and AppKit frameworks for you.
// Daniel Currie
On 2004 Feb 14, at 00:44, email@hidden wrote:
I have been adding routines to an existing source code and needed to
use
NSObjects so I did a #import <Foundation/NSObject.h> and this gives me
errors like
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:7:
undefined
type, found `@class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8
undefined type, found `@class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:13:
undefined type, found `@protocol'
I contacted Apple about this but they claim the problem is not with the
framework and no updated framework is available and I should not have
these errors
but so far, all I am doing is "#import <Foundation/NSObject.h>" which
shouldn't cause a problem.
Has anyone else experienced this problem? Is there a solution?
OSX 10.2.8/GCC 3.1/1ghzDP MDD G4
_______________________________________________
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.
_______________________________________________
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.