• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need Help with Obj-C -> Java bridge method calls with multiple arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Need Help with Obj-C -> Java bridge method calls with multiple arguments (From: James Montgomerie <email@hidden>)

  • Prev by Date: Re: Threads, messages and blocking
  • Next by Date: Re: Trapping the close click?
  • Previous by thread: Re: Need Help with Obj-C -> Java bridge method calls with multiple arguments
  • Next by thread: Re: Future Objective-C changes
  • Index(es):
    • Date
    • Thread