4 ms·
A much easier way to add async HTTP and image requests would be to just use AFNetworking (https://github.com/gowalla/AFNetworking https://github.com/gowalla/AFN
by matttthompson 15y ago
A much easier way to add async HTTP and image requests would be to just use AFNetworking (https://github.com/gowalla/AFNetworking https://github.com/gowalla/AFNetworking)
The rest of this I could really take or leave. Really wish there was something better than EGOPullToRefresh in wide use...
- Greenisus 15y agoHow is AFNetworking easier than ASIHTTPRequest?
- matttthompson 15y agoSimple block-based API, significantly less lines of code to accomplish the same tasks, and smaller, more understandable codebase that uses Foundation classes (e.g. NSURLRequest, NSURLResponse, etc.), rather than re-inventing the wheel And though I don't have the exact numbers, AFNetworking is really fast, maybe 2-3x over ASI in average cases, from my experience and what other users report. Take a look at the examples in the README and compare that to how you'd do the same in ASI.
- stevenp 15y agoAFNetworking looks great, but I'm also curious as to what the advantage is over ASIHTTPRequest.
- Zev 15y agoI typically use PullToRefresh from https://github.com/leah/PullToRefresh https://github.com/leah/PullToRefresh instead of EGOTableViewPullRefresh. It positions itself as a superclass that handles all of the logic, rather than an external object that handles the delegate methods (as EGO does).
- lukeredpath 15y agoObligatory plug for Resty: https://github.com/lukeredpath/LRResty https://github.com/lukeredpath/LRResty ;)