Skip to content

avadeshyadav/SampleMVVM

Repository files navigation

SampleMVVM

A simple project to demonstrate MVVM design pattern, UnitTesting via MockURLProtocol, inspired from WWDC 2018: 417 Testing tips and tricks. The Network layer and API requests code is taken from the same talk.

Other useful links that helped to improve code quality:

  1. https://developer.apple.com/videos/play/wwdc2018/417/
  2. https://academy.realm.io/posts/making-mock-objects-more-useful-try-swift-2017/?w=1
  3. https://www.slideshare.net/natashatherobot/practical-protocols-with-associated-types
  4. https://medium.com/flawless-app-stories/writing-network-layer-in-swift-protocol-oriented-approach-4fa40ef1f908
  5. https://cocoacasts.com/dequeueing-reusable-views-with-generics-and-protocols

About

A simple project to demonstrate MVVM design pattern, UnitTesting via MockURLProtocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages