I am trying to understand how to use Alamofire in a command line application.
I cannot use frameworks, so I added the source code of Alamofire to the application (so there is no import statement), and I can directly refer to request () and other methods.
Is there a cleaner way to encapsulate Alamofire or is this a limitation in Swift 2.X at the moment?
Jan z source
share