• 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: How to determine import statements to use for a Cocoa class for a JNI method?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to determine import statements to use for a Cocoa class for a JNI method?


  • Subject: Re: How to determine import statements to use for a Cocoa class for a JNI method?
  • From: Rob Ross <email@hidden>
  • Date: Mon, 11 Sep 2006 16:37:41 -0700

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?

Thanks,

Rob


On Sep 11, 2006, at 4:32 PM, Shawn Erickson wrote:

On 9/11/06, Rob Ross <email@hidden> wrote:

Then I try to compile from the command line:

gcc -c -I/System/Library/Frameworks/JavaVM.framework/Headers -I/
System/Library/Frameworks/Cocoa.framework/Headers NSStringProcessing.m

Try...

gcc -c -FJavaVM -FCocoa NSStringProcessing.m

(off the top of my head)

-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
  • Follow-Ups:
    • Re: Re: How to determine import statements to use for a Cocoa class for a JNI method?
      • From: "Shawn Erickson" <email@hidden>
References: 
 >How to determine import statements to use for a Cocoa class for a JNI method? (From: Rob Ross <email@hidden>)
 >Re: How to determine import statements to use for a Cocoa class for a JNI method? (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: How to determine import statements to use for a Cocoa class for a JNI method?
  • Next by Date: Re: Re: How to determine import statements to use for a Cocoa class for a JNI method?
  • Previous by thread: Re: How to determine import statements to use for a Cocoa class for a JNI method?
  • Next by thread: Re: Re: How to determine import statements to use for a Cocoa class for a JNI method?
  • Index(es):
    • Date
    • Thread