About Rex St John
I am a mobile software engineer and technical evangelist working for Intel’s Mashery subsidiary. Aside from attending dozens of hackathons, workshops and technical events, it is my job to help developers learn about and engage with REST APIs.
iOS 8 Networking With AlamoFire and Swift
In this article, we will be exploring the basics of REST APIs, learning how to create our first iOS 8 networking application using the AlamoFire library (and using the Swift programming language with Xcode 6). I have written this article to help beginners learn how to interact with REST APIs and learn the basics of iOS 8 development. The GitHub repo for this article is freely available by clicking here.
- What is an API?
- Project Setup + Configuration
- How to install AlamoFire
- Getting an API key via Mashery API Network + JamBase API
- Making a basic REST API networking call
- Rendering REST API data into generic model objects
What are we building?
We are going to be building a basic app to make REST API calls to the JamBase API and display the results in a UISplitViewController. This particular chapter will be primarily concerned with building a very basic networking layer using AlamoFire.
[Read more…]