Accessing a customer Objective C classes from Java
Accessing a customer Objective C classes from Java
- Subject: Accessing a customer Objective C classes from Java
- From: Vincent Coetzee <email@hidden>
- Date: Thu, 11 Sep 2003 12:01:35 +0200
Hi there
Please excuse me if this question has been asked and answered on these
lists before, I HAVE searched the archives without success. I need to
use a custom NSCell subclass in an NSOutlineView from a Cocoa Java app.
I have the app working using a Java implementation of the NSCell
subclass. The NSCell subclass is being used as the data cell for a
column in the NSOutlineView. Despite the fact that I am keeping
references to the instances of this cell that I create in an
NSMutableSet, NSOutlineView is obviously creating it's own instances of
this class, and I am receiving 100s of warning messages regarding the
fact that the Java bridge is not able to forward various ObjC messages
to the Java instances. My problem has one of 2 solutions, where and how
can I control creation of the instances of my subclass so that I can
keep references to them or can I create an Objective C subclass of
NSCell and use that instead. I can find no documentation describing how
to access a custom Objective C class from within a Cocoa Java app. Any
suggestions or pointers to docs would be appreciated.
Thanks
Vincent
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.