Using ASIHTTPRequest to download a file with Cocoa/MacRuby

Posted by arbales on Stack Overflow See other posts from Stack Overflow or by arbales
Published on 2010-05-02T23:51:13Z Indexed on 2010/05/02 23:58 UTC
Read the original article Hit count: 492

Filed under:
|
|
|

I'm still trying to get a handle on Cocoa (both in Obj-C and MacRuby), and I'd really appreciate seeing how to download a file with ASIHTTPRequest (or without it) and MacRuby. Ideally, I'd like to be able show the progress inside a progress bar too.

Must use a cocoa method for downloading, since open-uri in MacRuby is borken.

Thanks for your help.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about cocoa