4 ms·
You showed two Reactive examples. One was written with Reactive Cocoa, and one was written with the normal Cocoa reactive API. Simple examples like this are on
by memracom 13y ago
You showed two Reactive examples. One was written with Reactive Cocoa, and one was written with the normal Cocoa reactive API.
Simple examples like this are only the Reactivity 101 of Reactive Cocoa and do not fully showcase the power. Also, part of the power of using Reactive Cocoa on iPhone/iPad apps is that you can build them using the same Functional Reactive Programming style that you would use in Android, .NET, Javascript, Scala and so on. Reactive extensions is an API that is available in all those platforms, and it not only simplifies code overall, but it allows the use of the same powerful architectural style across all of the platforms that a typical company needs to support.
- mpweiher 13y ago"You showed two Reactive examples. One was written with Reactive Cocoa, and one was written with the normal Cocoa reactive API." Exactly. Cocoa already is reactive.