• 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: Downloading with NSData and NSFileManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Downloading with NSData and NSFileManager


  • Subject: Re: Downloading with NSData and NSFileManager
  • From: Mike Abdullah <email@hidden>
  • Date: Mon, 6 Oct 2008 19:26:00 +0100

If you want to literally just download a file, the simple option is to use NSURLDownload. It's fairly straightforward, an asynchronous.

On 6 Oct 2008, at 18:04, Mark Thomas wrote:

Hi All,
I was looking at downloading some files, and started to look at
NSFileManager to create the file, and then saw I could use NSData to load
the data via a NSURL, so this look's pretty straight forward and very small
code for downloading files.


So I'm wondering what is the downside of using this technique, as I guess
maybe these API block ?


Thanks any pointers,
Mark.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >Downloading with NSData and NSFileManager (From: Mark Thomas <email@hidden>)

  • Prev by Date: CoreData: Fetching object with maximum of property
  • Next by Date: Re: comparing Strings.
  • Previous by thread: Re: Downloading with NSData and NSFileManager
  • Next by thread: Open SSL on the iPhone
  • Index(es):
    • Date
    • Thread