Getting Started with RxSwift and Reactive Programming in Swift

In today’s article, we are taking a closer look at what reactive programming in Swift is all about and how we can use this design pattern in iOS apps by leveraging RxSwift. At Instamobile, we are building a ton of cool iOS apps, so we always consider using the most appropriate design patterns to build highly modularized iOS Starter Kits.





There are many use cases where you want your app to display collections of UI elements with flexible cell sizes, that render compactly on the screen, taking up as much space as possible. Unfortunately, achieving this in Swift is not straightforward and having collection views dealing with cells of different heights and widths can be tricky. In this tutorial, you'll be able to learn how you can create the layout pictured below (which is a shot of our