/FunctionalReactiveAwesome

Sample Code for AltConf 2015 talk on FRP :tada:

Primary LanguageSwiftMIT LicenseMIT

FunctionalReactiveAwesome

Here's my sample code from my AltConf 2015 talk, titled "Functional Reactive Awesome". It discusses the benefits of functional reactive programming in the context of Swift using a still-nascent FRP framework.

The goal here is that you pay attention to the ideas and not the implementation. Who cares about implementation – you can figure that out once you understand the importance of it.

Pay attention to the "View Controllers" group in the Xcode project.

Ignore everything else. It does not matter.

The point is you see how cool writing code in functional reactive programming can be. Once you understand how powerful signals, transformations, and bindings can be, you can start to explore how to build these things yourself.

Screenshot

Instructions

Download the repo. The Pods are included, so you just need to open the workspace.

Requirements

  • Xcode 6.3
  • Swift 1.2
  • A sense of adventure

License

Go wild.