• 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: NSURLDownload in an action?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLDownload in an action?


  • Subject: Re: NSURLDownload in an action?
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 31 May 2007 15:51:49 -0400


On May 31, 2007, at 6:34 AM, Robert Nicholson wrote:

Forgive the cross posting it's probably more relevant to general cocoa than automator despite my attempts to use it in an automator action. the key point being automator actions have to be synchronous ie. all work is done before the top method returns.


Since you want an async download, why not use

NSURLConnection's +sendSynchronousRequest:returningResponse:error: instead, and then right the data out to the appropriate file?
_______________________________________________


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


  • Follow-Ups:
    • Re: NSURLDownload in an action?
      • From: Robert Nicholson <email@hidden>
References: 
 >NSURLDownload in an action? (From: Robert Nicholson <email@hidden>)

  • Prev by Date: NSSendCommitEditingSelector exception
  • Next by Date: How do you get an NSCell subclass into a Palette?
  • Previous by thread: Re: NSURLDownload in an action?
  • Next by thread: Re: NSURLDownload in an action?
  • Index(es):
    • Date
    • Thread