A riff on ReactiveCocoa that explores what's possible using plain Cocoa.
- The last column in the periodic table is made up of 6 elements that are known as the noble gases due to their low reactivity. This seemed like a good contrast to ReactiveCocoa.
- Noble seems like a good adjective to describe Cocoa, which is an excellent development platform.
ReactiveCocoa combines a number of elements in a single framework:
- A implementation of bindings (which are absent on iOS)
- A layer on top of KVO
- A method for reducing state in Cocoa and Cocoa Touch apps
(That's not an exhaustive list. But this isn't the place for such a list.)
As I learned about ReactiveCocoa and some of the ideas that it's based on, I thought about how to minimize state in a Cocoa application without RAC. I realized that the basics could by achieved through KVO's dependent keys.
This is an example application, loosely based on joshaber's RACSignupDemo. It uses KVO and bindings to perform some of the same work while minimizing state.
- To explore the limits of Cocoa
- To explore what ReactiveCocoa provides and how it's different than standard Cocoa.
- To explore how to minimize state in apps that don't use ReactiveCocoa.