Sam Ritchie


Chief Codesplicer at Codesplice, Organiser of Perth iOS Developers

Sam has a background in .NET enterprise development, but now works mainly on mobile apps & cloud services. He’s been an Apple fanboy since the 80s, and was coding Objective-C before it was cool. He mainly develops in Swift & F# these days, and actively tries to avoid writing any JavaScript.

Sam runs the Perth-based software consulting company codesplice, and organises the Perth iOS developers meetup group.

YOW! 2015 Sydney

Rethinking MVC with React Native & ReactiveCocoa


Traditional event-based MVC has been the standard pattern for building user interfaces for decades. However, this pattern has its downsides – specifically, shared mutable state and cascading event chains can lead to code that is difficult to comprehend and reason about.

In this talk we’ll look at alternative approaches that leverage functional programming techniques, using the native mobile app development space to demonstrate. We’ll start by introducing the concepts of declarative UIs and reactive one-way data flow, as exemplified by the JavaScript-based React Native framework. Then, if JavaScript is not your cup of tea, we’ll see how we can apply the same principles using Swift and ReactiveCocoa, a functional reactive programming library for Cocoa.

Irrespective of what language you use or what sort of user interfaces you build, this talk will introduce you to the virtues of reactive one-way data flow and immutable state, and how they can help you write code that is easier to understand.