• 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
Screensavers, NSXMLParser, "Test" and lockups.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Screensavers, NSXMLParser, "Test" and lockups.


  • Subject: Screensavers, NSXMLParser, "Test" and lockups.
  • From: Bryn Davies <email@hidden>
  • Date: Sat, 8 May 2004 18:06:38 +1000

Hi. I was wondering if anyone could shed some light on a problem I'm
having.

I have this screensaver. It obtains urls for images from an xml
document stored on the web ( at Livejournal, to be precise ) and then
tiles them around the screen in the usual fashion. It works pretty
well, but it has one major bug.

The screensaver runs fine if activated by hotcorner or by user input
event timeout. Also, it works fine running in the preview pane.
Finally, it works fine if it's running in the preview pane and the
aforementioned hotcorner / timeout trigger goes off. But clicking
"test" causes it to lock up horribly - NSXMLParser
initWithContentsOfURL never returns. ( Despite having worked fine when
invoked in the preview window a second or two earlier. ) As it never
returns, you either need a timed kill of the preferences pane app or an
ssh from elsewhere to unglue yourself.

Can anyone point me to a good source of documentation, if one exists,
on what exactly happens when the user clicks the "Test" button? I'd
like to try and narrow down the possible causes for this behavior. I'd
be more than happy to share the code with anyone who wants to see it.
If anyone has some good suggestions on where to start reading how to
debug bundles with the inbuilt debugger, that would also be most
welcome.

Thank you,
Bryn Davies.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


  • Prev by Date: Re: Need to release "constant objects"?
  • Next by Date: Re: Can a sheet appear at an arbitrary window position?
  • Previous by thread: Re[3]: Can a sheet appear at an arbitrary window position?
  • Next by thread: Checking/unchecking a menu item based on responder chain
  • Index(es):
    • Date
    • Thread