MVVM with ReactiveCocoa

I’ve always been very keen on the Model-View-ViewModel (MVVM) UI design pattern, ever since I first encountered it whilst developing WPF and Silverlight (RIP) applications. As a result I’ve been quick to adopt frameworks in other languages / technologies that provide an implementation of the MVVM pattern, such as KnockoutJS.

Recently I have been doing quite a bit of iOS development. The UIKit frameworks lack databinding and as a result an MVVM implementation would be pretty cumbersome. Fortunately ReactiveCocoa plugs this gap (and adds a whole lot more besides). You can read all about it in this two part tutorial series.

I’m looking forward to making this code even more lovely when I convert it over to Swift.

Regards, Colin E.

MORE BY COLIN

gifbot - Building a GitHub App