Today, we will take a closer look at Rex - ReactiveCocoa extensions. I find Rex pretty helpful when working with ReactiveCocoa, especially creating UI bindings.
If you are binding your view model with UI layer, Rex will let you do it much easier with it’s extensions to
UIControls. Here are some examples of
UITextField, UILabel, MutableProperty
You can clearly see that
Rex makes our bindings much easier to read and understand. These are just examples, but you can find much more interesting properties like
Rex comes with some handy signal transformations, so go check it out!
This article is cross-posted with my my personal blog.