#mvvm + #rxswift on #ios part 1
▻https://hackernoon.com/mvvm-rxswift-on-ios-part-1-69608b7ed5cd?source=rss----3a8144eabfe3---4
In this article I’m going to introduce MVVM design pattern in iOS programming and of course with RxSwift.This article divides into two parts. In part 1 design pattern explained briefly and basics of RxSwift, and in part 2 , we have an example project of MVVM with RxSwift.Design patterns:At first ,It’s better to explain why we should use design patterns? In short: In order to avoid our code getting spaghetti ? and of course this is not the only reason. One of the reasons is testability . There are bunch of design patterns and we can point some of the popular ones to MVC,MVVM,MVP and VIPER. There is a good picture from NSLondon slides that compare design pattern to Distribution,Testability and Ease of use.Compare of design patterns ( from NSLondon )All of these design patterns have its own (...)