• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Framework causing a problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Framework causing a problem (From: email@hidden)

  • Prev by Date: NSImage and flipping
  • Next by Date: Re: Framework causing a problem
  • Previous by thread: Framework causing a problem
  • Next by thread: Re: Framework causing a problem
  • Index(es):
    • Date
    • Thread