Simple Networking Layer setup using Alamofire and PromiseKit.
Project can be found on
Github: https://github.com/iffytheperfect1983...
Setup APIRouter as enum to configure the endpoints.
Setup APIRouterStructer to be used for making actual calls.
Shows how to set custom and default Headers.
Alamo Session Helper to return generic type wrapped in a Promise.
Shows how to generate model from online Model generator (app.quicktype.io)
Chaining Promises to use results from previous promise as parameter on the next call.
ViewController demonstrates how to use the Networking setup.