Re: I cannot add a (system) framework to a Cocoa Application
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