Re: Re: How to determine import statements to use for a Cocoa class for a JNI method?
Re: Re: How to determine import statements to use for a Cocoa class for a JNI method?
- Subject: Re: Re: How to determine import statements to use for a Cocoa class for a JNI method?
- From: "Shawn Erickson" <email@hidden>
- Date: Mon, 11 Sep 2006 16:41:10 -0700
On 9/11/06, Rob Ross <email@hidden> wrote:
Well it turns out in my specific example I was spelling
NSAutoreleasePool incorrectly. arrg.
But my general question still holds. If I want to use the NSFoo
class, how do I determine what framework it belongs to so I know what
#include to use, and what -F flag to use?
The Cocoa.framework covers all of Cocoa (AppKit and Foundation).
Apple's API documentation should list information about the framework
for all of its APIs if they are packaged into a framework. In general
it is listed in the small table at the start of every page on a
particular class.
Note you should not use NS a prefix for any of your classes, files, etc.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden