I'm trying to find a good way of associating an Objective-C object
with an arbitrary Java object, so that you could essentially delegate
the Objective-C method call to a Java object. I envision that this
would have to be done using JNI. However, I don't know the specifics
of how it can be done.
My eventual objective actually is to write a Java annotation processor
that would generate an Objective-C class Bar from a Java class Foo.
The idea would be that Bar would be associated with Foo, and any
specially-annotated methods in Foo would have a counterpart in Bar, so
that a Bar instance would call the corresponding Foo method. (This
could then extend to, say, writing Cocoa controller code)
Is there someone experienced who could shed a light on this matter?
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com