Skip to content
0:00 / 0:00

#alamofire#swiftyjson#cocoapods

Easy HTTP Requests in Swift in 4 Steps (Alamofire/SwiftyJSON)

Michael Miles

984 subscribers • 6 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Michael Miles
  • Linked in the descriptionmgm720/alamo
  • May be out of date. The tools, versions or practices it shows have likely moved on.

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-miles04

Why it's here

1 person recommends this

What 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

Easy HTTP Requests in Swift in 4 Steps (Alamofire/SwiftyJSON)