Example of MVVM, Coordinator and Alamofire
I have recently been learning the MVVM and Coordinator patterns. As an exercise I took this AlamoFire tutorial by Corey Davis on Ray Wendrlich (https://www.raywenderlich.com/6587213-alamofire-5-tutorial-for-ios-getting-started) and converted it to adhere to these patterns.
This repository contains the results of that exercise so that it may be of use in helping others who are learning these patterns.
Credit due to all the following sources from which the solution was devised and appropriated:
Staring Project
https://www.raywenderlich.com/6587213-alamofire-5-tutorial-for-ios-getting-started
MVVM
https://www.toptal.com/ios/swift-tutorial-introduction-to-mvvm
https://codepen.io/wangdu1005/pen/abboLZX
https://benoitpasquier.com/ios-swift-mvvm-pattern/
Coordinator
https://www.youtube.com/watch?v=7HgbcTqxoN4
AlamoFire was installed via CocoaPods
https://www.raywenderlich.com/7076593-cocoapods-tutorial-for-swift-getting-started