NSSelector, a question of Class
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