Swift Developer, Avid Learner, Tech Lover, Design Enthusiast!
In this post we’ll look how Protocols and Dependency Injection can help us in writing pure testable code in Swift.
Purity of the class or API is determined by the dependency it has. For example, if you have an API to find sum of two…
Using CoreML and Swift