views:

1061

answers:

3

I need to use NSImage which appears need to be imported from <AppKit/AppKit.h>. I have included the AppKit framework, and I do see AppKit.h there. But I am still getting compilation error saying <AppKit/AppKit.h> not found.

What I might missed ?

Thanks.

+4  A: 

AppKit is not available on the iPhone, nor is NSIMage. You need to bring in UIKit and use UIImage.

Louis Gerbarg
A: 

Oh, I see, thanks!

BlueDolphin
A: 

How do you go about doing that?

yan bellavance
go about doing what??
zPesk
its ok i know now what he means by "bring in" UIKit
yan bellavance