c
On Mar 9, 2012, at 8:14 PM, Alex Zavatone wrote:
> I've been reading (and trying out) a few approaches on HTTP communication
> using GCD to do a dispatch_sync or dispatch_async to a dispatch queue or
> using an NSURLRequest.
>
> Which of these is the preferred method for ingesting strings fro
> FWIW, my view is that it depends on what your requirements are. For a simple
> request, you can go with an [NSString stringWithContentsOfURL] wrapped in a
> call to dispatch_async to avoid blocking the main thread.
But keep in mind that threads are not free and there are a finite number
avai
> I've been reading (and trying out) a few approaches on HTTP communication
> using GCD to do a dispatch_sync or dispatch_async to a dispatch queue or
> using an NSURLRequest.
>
> Which of these is the preferred method for ingesting strings from HTTP URLs
> on iOS? Are there any plusses to one
I've been reading (and trying out) a few approaches on HTTP communication using
GCD to do a dispatch_sync or dispatch_async to a dispatch queue or using an
NSURLRequest.
Which of these is the preferred method for ingesting strings from HTTP URLs on
iOS? Are there any plusses to one over the ot