Skip navigation.
 
mlRe: cocoa java bridge: converting nsarray to java array
FROM : j o a r
DATE : Sun Nov 21 22:08:32 2004

On 2004-11-21, at 21.51, Matthew wrote:

> I'm having a hard time understanding why it's unreasonable to pass an
> NSArray of NSString to a Java method and have it accept it 'as is', as
> an array of String[]. But again, I've done very little with the Java
> bridge and this might seem completely reasonable to those of you who
> have used it frequently.


I'm just a clueless newbie when it comes to things like bridging
languages, but as "String[]" is a typed collection (right?), and
"NSArray *" is an untyped collection, would it not be difficult to
allow for a transparent 2-way bridge?

j o a r

Related mailsAuthorDate
mlcocoa java bridge: converting nsarray to java array Matthew Nov 20, 23:13
mlRe: cocoa java bridge: converting nsarray to java array Marcel Weiher Nov 21, 11:57
mlRe: cocoa java bridge: converting nsarray to java array Matthew Nov 21, 15:04
mlRe: cocoa java bridge: converting nsarray to java array Marcel Weiher Nov 21, 19:09
mlRe: cocoa java bridge: converting nsarray to java array Matthew Nov 21, 21:05
mlRe: cocoa java bridge: converting nsarray to java array j o a r Nov 21, 21:32
mlRe: cocoa java bridge: converting nsarray to java array Matthew Nov 21, 21:51
mlRe: cocoa java bridge: converting nsarray to java array j o a r Nov 21, 22:08
mlRe: cocoa java bridge: converting nsarray to java array Matthew Nov 21, 22:23
mlRe: cocoa java bridge: converting nsarray to java array M. Uli Kusterer Nov 23, 22:44