• 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
NSSelector, a question of Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSelector, a question of Class


  • Subject: NSSelector, a question of Class
  • From: Danny Swarzman <email@hidden>
  • Date: Sun, 4 Sep 2005 23:58:38 -0700

I want to call a function in Objective-C from Java.

I know about jni but NSSelector seems to offer advantages. What I haven't figured out is how to get my class. If I pass NSDictionary.class as a parameter type, it seems happy. But MyClass.class doesn't seem to be a good class for invoke(). I try:

Class myClass = Class.byName ( "MyClass" );

It doesn't find that.

How do I tell it it's there?

-Danny
_______________________________________________
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


  • Prev by Date: Re: CoreData NSArrayController's in IB
  • Next by Date: Core Data and two linked NSOutlineView (s) - ala Safari bookmarks
  • Previous by thread: Re: CoreData NSArrayController's in IB
  • Next by thread: Core Data and two linked NSOutlineView (s) - ala Safari bookmarks
  • Index(es):
    • Date
    • Thread