Creating an IOS app with MVVM and RxSwift in minutes
Before you go ahead and read the following blog, I want to assert the following:
RxSwift does much of the heavy lifting and makes code quick to write and easy to follow.
and as soon as you complete this example you will believe this too. The implementation in this blog is for intermediate Swift developers with some basic knowledge of RxSwift and MVVM. If you are fairly new, I would recommend going through my other introductory RxSwift blogs:
RxSwift foundation and basic components
Testing in RxSwift and then come back to this one.
MVVM and RxSwift are counted as some of the advanced topics when it comes to IOS app development and many a times I have seen developers getting confused about one or the other. In this blog we will cover both with the help of a working example that will help you to think of these two in much simpler terms and have a high level view of both so that, when need be, you can easily pick either of these to suit your needs.
We can’t do much in an app these days without interacting with a remote server. So in this example we will create an IOS app which interacts with an API, parses data and reflects it on a view. These are usually the some of the main components while writing a basic IOS app these days.