Unit Test for Networking in Swift
ShengHua Wu
62

Hi! I recently wrote a very similar post regarding the similar issue, and also mentioning Chris Eidhof’s post :) Here it is:

https://medium.com/anysuggestion/taking-dependency-injection-one-step-further-with-swift-cde1b3d41d49#.m1jezmr3g

It’s cool that somebody else approaches the problem in the same way, and almost with the same solution. I see a small tendency in the community to reduce the usage of protocols in places where they honestly don’t fit, and I think that’s the right way.