Re: Need Help with Obj-C -> Java bridge method calls with multiple arguments
Re: Need Help with Obj-C -> Java bridge method calls with multiple arguments
- Subject: Re: Need Help with Obj-C -> Java bridge method calls with multiple arguments
- From: Marc Liyanage <email@hidden>
- Date: Fri, 30 May 2003 09:30:59 +0200
Hi again,
Good - your second example had no whitespace before the second colon
though, hence my comment (perhaps this is not needed?)
It does seem to me that it's optional, as I just tested it with and
without the space, no difference visible for me.
It was the "id transformer = [transformerFactory
newTransformer:streamSourceXslt];" line that was freaking me out - you
weren't retaining the returned transformer (though I don't know that
API, so maybe you don't need to because there's a reference to it
somewhere else).
No, you're absolutely right, I did forget about that... And the
newInstance method near the top.
But I guess it won't be released until the method returns anyway, i.e.
when the current run loop terminates?
Adding two retain invocations to those two instances does not change
the Null pointer exception. I guess I'll stay with the other library
for the moment...
Cheers & thanks again...
-Marc
_________________________________________________________________
Marc Liyanage email@hidden
http://www.entropy.ch
ICQ 5077985
Yoda I am. Grammar I can't.
_________________________________________________________________
_______________________________________________
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.