I am making an application that accesses some data the first time it is launched and then displays it. I downloaded this data like this:
NSData *data = [NSData dataWithContentsOfURL:url];
This is bad? Right now I have installed a method that contains this to work in the background thread using GCD, but I heard that since it dataWithContentsOfURLis synchronous, this is bad. Any opinions on this?
source
share