Sam Ritchie

Share

Chief Codesplicer at Codesplice, Organiser of Perth iOS Developers
samritchie.net
@FakeSamRitchie

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! Connected 2015 Melbourne

Untangling Callback-Spaghetti with ReactiveCocoa

CASE STUDY/DEMO –  VIEW SLIDES   WATCH VIDEO

TL;DR – If you have callbacks manipulating object state, you have bugs.

Most modern mobile apps are event driven – location, touch events, network calls, push notifications etc can all trigger app behaviour. Traditional imperative approaches to managing these events are difficult to understand/maintain and are a reliable source of semantic bugs in your app.

ReactiveCocoa is an open source Functional Reactive Programming (FRP) implementation for iOS, and offers a better approach to implementing event-driven code. This presentation will show how to use the new ReactiveCocoa 3 to build better Swift apps.