On May 16, 2012, at 5:50 AM, Jens Alfke wrote:
> 
> Async NSURLRequest, as already mentioned. It’s a little bit clunky to use by 
> modern standards — I wish they’d add some nice block-based callbacks to it 
> instead of making me implement yet another delegate class — but it works 
> well, and it’s quite well documented by Apple and others.
> 
> —Jens

+1

I eventually wrote a generic block-based delegate which fulfills 95% of my uses 
of NSURLConnection, I'm sure others have too. Just give it the NSURLRequest and 
a block to call on success or failure and off it goes. I'm hoping to see some 
more block-based callbacks creep into the next version of iOS (and OSX I 
guess), they are awesomely usable. 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to