Re: cocoa java bridge: converting nsarray to java array
Re: cocoa java bridge: converting nsarray to java array
- Subject: Re: cocoa java bridge: converting nsarray to java array
- From: Marcel Weiher <email@hidden>
- Date: Sun, 21 Nov 2004 10:57:19 +0000
On 20 Nov 2004, at 22:13, Matthew wrote:
Hello,
I have an issue using the Cocoa Java Bridge. It is working fine for
calling Java methods that require no arguments or string arguments,
but I'm having an issue passing an NSArray of NSString to a java
method that expects an array of java strings objects.
I don't think this is intended to work as you expect. At least in my
experience, an Objective-C NSArray crosses the bridge as a
com.apple.cocoa.foundation.NSArray, not as a Java array. So you will
need to convert between the two "manually".
Marcel
_______________________________________________
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