Class MyJavaClass = NSClassFromString(@"FooBar") When invoking methods on the class that take arguments, you need to add a colon to the method name. For example, a method like: public String getContent() .... would be accessed as .... response = [connection getContent]; --- Or: public void URL(String tempURL) ....would be invoked as.... [connection URL: anUrlString]; --- I don't know what the rules are for more than one argument? Additional colons? Or varargs??? b.bum
- Using Java classes from Objective-C Dan Morgan
- Re: Using Java classes from Objective-C David Scheck
- Re: Using Java classes from Objective-C Bill Bumgarner
- Re: Using Java classes from Objective-C Geoff Hopson
- Re: Using Java classes from Objective-C Ricardo Parada
