Re: Automatic checking for program updates
Re: Automatic checking for program updates
- Subject: Re: Automatic checking for program updates
- From: j o a r <email@hidden>
- Date: Mon, 5 Sep 2005 14:52:20 +0200
On 5 sep 2005, at 14.47, Mike Abdullah wrote:
At present my app uses a really simple system to check for
updates. When you load the app, it runs a curl command from the
command line. This downloads a small text file which contains the
current version of the app. Having done that, the app opens the
file and compares that version number to the current one.
The trouble is, if the server that file is on is having problems
(pretty frequent at the moment!), the whole app freezes until the
file is able to be downloaded. i.e. the curl command just sits
there waiting for a response.
I am sure that this is a very poor way of doing things. Does
anyone have any better suggestions?
Use NSConnection / NSDownload to run the network operations
asynchronously.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden