Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Hi there, What are the benefits in creating the API/Foursquare client vs. using Alamofire? (obviously it's good to understand how it all works rather than just using third party code).
David Lin35,864 Points
Yeah, the benefit to writing our own networking service is probably mostly for didactic purposes, in the same spirit where he wrote out the parameter encoding methods, but in the end, simply used the iOS libraries to do the exact same thing.
I suppose another benefit of having your own networking service is that you're not reliant on 3rd party libraries, for example, in case of bugs in the libraries, or waiting for them to update their implementation to a newer version of the language, etc.