u/michael-g-milesin r/swift • Recommends
Easy HTTP Requests in Swift in 4 Steps (Alamofire/SwiftyJSON)
#alamofire#swiftyjson#cocoapods
984 subscribers • 6 videos on Hallway
Beginner. No background in the topic needed.
4.6K views7 years ago1 recommendation
Mobile developmentiOS and SwiftUINetworking and protocols
Michael Miles demonstrates how to perform HTTP GET and POST requests in Swift using Alamofire and SwiftyJSON.
In this tutorial, I show you how to use 2 popular frameworks (Alamofire & SwiftyJSON) to easily retrieve data from a REST API and display it in your app, as well as posting data to a server. Steps: 1) Get API keys from RapidAPI & Pastebin 2) Add SwiftyJSON & Alamofire to project via Cocoapods 3) HTTP GET requests 4) HTTP POST requests Download the starter project here (download as a zip instead of cloning): github.com/mgm720/alamo/tree/starter Finished project: github.com/mgm720/alamo/tree/final Twitter: twitter.com/MilesOfTweets Instagram: instagram.com/michaelmilestv/ Swift Life Podcast: anchor.fm/michael-miles04What people say. Recommended as a step-by-step tutorial for making network requests in Swift using popular libraries.
u/michael-g-milesin r/swift • Recommends