Re: NSURLDownload in an action?
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