Re: Best way to read a file from HTTP URL
Re: Best way to read a file from HTTP URL
- Subject: Re: Best way to read a file from HTTP URL
- From: Karl Moskowski <email@hidden>
- Date: Tue, 23 Jan 2007 11:21:53 -0500
I did a presentation on this at the last tacow (Toronto Cocoaheads)
meeting, showing how to use both Sparkle and a simple roll-your-own
method to implement version checking. Instead of a plain txt file,
you're probably better off using a plist or XML file (depending on
your targetted OS version) for easier parsing.
I posted short write-up and a sample Xcode project <http://
www.tacow.org/?p=50>.
Note that the sample code uses the the new XML classes available in
Tiger; if you're targeting Panther, see the previous reply in this
thread about NSDictionary's method +(id)dictionaryWithContentsOfURL:
(NSURL *)aURL. I'm not sure, but I think Sparkle requires Tiger too.
--Karl <email@hidden>
On 23-Jan-07, at 10:16 AM, email@hidden wrote:
Date: Tue, 23 Jan 2007 07:09:36 -0800
From: Hal Mueller <email@hidden>
Subject: Re: Best way to read a file from HTTP URL
To: email@hidden
Message-ID: <p06230907c1dbd55a15a7@[192.168.204.101]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
I want to implement a version check function for my application.
Why not use Sparkle?
http://andymatuschak.org/pages/sparkle
I haven't tried it personally, but several developers I met at the
Leopard Tech Talk were really jazzed about it.
Hal
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden