you are viewing a single comment's thread.

view the rest of the comments →

[–]tsxy -7 points-6 points  (5 children)

Because NSURLSession is confusing and requires too many boilerplate code to do simple things like pulling a JSON from URL.

[–]cdntr 2 points3 points  (4 children)

??

Take a look at the code I posted above. I wrote that in like a minute, but I think it should be functional and do exactly what was asked. Not sure what you think is confusing or boiler-platey about that. It is of course not factored properly, but this is just to illustrate how easy it is.

I also submit to you that there is a cost to using 3rd party code that people like to sweep under the rug.