News for hackers. Stuff that matters.
Re:We indexed some top mobile apps and the SDKs they use by svarrall on Sunday May 22, 2016 @10:40AM (#11748741)
Surprised to see so much use of AFNetworking. Is it really necessary? Looking at the example code it doesn't seem to add much (these days), with the overhead of managing another sdk.
Re:We indexed some top mobile apps and the SDKs they use by plorkyeran on Sunday May 22, 2016 @01:22PM (#11749384)
It used to be a dramatically better API than what the system provided. These days it's debatable as to whether it's actually better than just using NSURLSession directly, but AFNetworking is well established as the default that everyone who has ever touched an iOS application knows how to use, and there isn't really any incentive for ripping it out of existing applications (and if you have a mix of old and new applications it's easier to just use the same networking API in all of them, so it continues to be used for new ones as well).
Re:We indexed some top mobile apps and the SDKs they use by adeel4 on Sunday May 22, 2016 @10:56AM (#11748804)
The most evident pro is saving you to type many more lines of code to implement the download or upload of a resource (json, image, etc.) from/to a web server.