How I Usually Do: Networking - Swift 3

During the time I was an iOS developer I picked up some patterns for doing networking. There is a lot of decisions to make when implementing networking, but this general solution is my favorite. I'll go through an example API I implemented. Networking Class class Api { enum Error: Swift.Error…