• 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: I cannot add a (system) framework to a Cocoa Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I cannot add a (system) framework to a Cocoa Application


  • Subject: Re: I cannot add a (system) framework to a Cocoa Application
  • From: j o a r <email@hidden>
  • Date: Fri, 11 Jul 2008 13:36:19 -0700


On Jul 11, 2008, at 1:28 PM, Anders Sommer Lassen wrote:

When I compile the following code:

#import <Cocoa/Cocoa.h>
#import <ImageKit/IKImageView.h>

@interface untitled : NSObject {

   IBOutlet IKImageView *imageView;
}

@end

I get an error message saying that the IKImageView.h does not exist.

I then ask myself, how can the Cocoa.h file be found when the IKImageView.h can not.


For umbrella frameworks, you should only ever link to, or include from, the master header file of the top level framework. In this case:

	#import <Quartz/Quartz.h>

This is documented here:

<http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/IncludingFrameworks.html#//apple_ref/doc/uid/20002257-97563 >

j o a r


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Greg Guerin <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Anders Sommer Lassen <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Chris Espinosa <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Anders Sommer Lassen <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: "Shawn Erickson" <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Anders Sommer Lassen <email@hidden>)

  • Prev by Date: Re: I cannot add a (system) framework to a Cocoa Application
  • Next by Date: Changing the default localization
  • Previous by thread: Re: I cannot add a (system) framework to a Cocoa Application
  • Next by thread: Re: Xcode-users Digest, Vol 5, Issue 434
  • Index(es):
    • Date
    • Thread