Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
- Subject: Re: [ANN] New UKUpdateChecker (NiftyFeatures 0.3)
- From: Kevin Ballard <email@hidden>
- Date: Tue, 23 Mar 2004 09:05:27 -0500
Speaking of the Cocoa software update code (which, BTW, I wrote, along
with the REALbasic code), I recently discovered that if your computer
has no net connection but still has an IP (i.e. your computer thinks it
has a net connection but can't connect anywhere), then initiating a
check will stall until the timeout trying to connect to the server (the
download of data is done in the background, but connection is done
synchronously, a fact I didn't realize until recently). In order to fix
this, I tried moving the whole thing into an NSThread (as well as
migrating to use NSDictionary's dictionaryWithContentsOfURL:, a method
I didn't know about when I wrote the Cocoa code). This seems to work
just fine. However, when I tested it in Rendezvous Browser, when the
new update window comes to the front it flashes the area the window
appears in white before actually drawing the window. I haven't been
able to figure out why it's doing this, so that's what I'm asking
about. Does anybody have any idea why it's doing this? Could it be
related to the fact that I post a notification in a detached thread and
catch it elsewhere? When I do this, does it catch it in the main
thread, or does it catch it in the detached thread?
On Mar 23, 2004, at 7:51 AM, M. Uli Kusterer wrote:
>
There's also a MacPAD-based software updating application in the
>
works, and the MacPAD SDK itself includes a pretty interface for
>
editing MacPAD files as well as public domain source code for Cocoa,
>
Carbon and REALbasic software update checking menu items.
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
[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.