Mastering MVVM With Swift
Protocol Oriented Programming and Dependency Injection
If we want to test the
AddLocationViewViewModel class, we need the ability to stub the responses of the geocoding requests we make to Apple's location services. Only then can we write fast and reliable unit tests. Being in control of your environment is essential if your goal is creating a robust test suite.
Are you ready to step up your game?
Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.Watch Every Tutorial for $80 per Year