• 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: Best way to read a file from HTTP URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: [JOB] Senior Cocoa Coder at The Omni Group
  • Next by Date: Merging a an Objective-C class with other classes
  • Previous by thread: Re: Best way to read a file from HTTP URL
  • Next by thread: NSInvalidArgumentException - *** -[NSRecursiveLock length]: selector not recognized
  • Index(es):
    • Date
    • Thread