Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Intro to Functional Reactive Programming with S...
Search
Josh Avant
July 07, 2016
Programming
360
1
Share
Intro to Functional Reactive Programming with Swift
Talk given at CocoaHeads LA at Victorious office, on 7/7/2016
Josh Avant
July 07, 2016
Other Decks in Programming
See All in Programming
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
350
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.2k
🦞OpenClaw works with AWS
licux
1
350
書き換えて学ぶTemporal #fukts
pirosikick
2
370
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
360
AIと共に生きる技術選定 2026
sgash708
0
140
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
170
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
180
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
350
Firefoxにコントリビューションして得られた学び
ken7253
2
160
From Formal Specification to Property Based Test
ohbarye
0
2.5k
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
370
Building AI with AI
inesmontani
PRO
1
980
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Designing Powerful Visuals for Engaging Learning
tmiket
1
360
Leo the Paperboy
mayatellez
7
1.8k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
500
Transcript
Intro to Func%onal Reac%ve Programming with Swi' by Josh Avant
@joshavant h"ps:/ /iamjo.sh
What is Func,onal Reac,ve Programming?
Func%onal Reac%ve Programming
Func%onal Reac%ve Programming Func%onal Programming
Func%onal Reac%ve Programming Func%onal Programming Reac%ve Programming
Func%onal Programming SOURCE: h*ps:/ /commons.wikimedia.org/wiki/File:Func>on_machine2.svg
Func%onal Reac%ve Programming Func%onal Programming Reac%ve Programming
Reac%ve Programming Observing streams of data, transforming them, and binding
the result to some outlet.
Streams Text Input, Form Comple1on, Network Requests, Delega1on, No1fica1ons
Transforma)ons map it, filter it, sort it, split it, insert
it, remove it, prefix it, suffix it, flatten it, replace it
Streams + Transforma.ons Demo
Bindings !: setText, setHidden, setEnabled, setImage, updateWithJSON, configureWithFoo
Demo UIDemoMain(Process.argc, Process.unsafeArgv, nil, "DemoDelegate")
Just the beginning! • Common FRP-able pa0erns: • Delegates •
Perfect first experiment with FRP! • API clients • User session state managers • Holy Grail: MVVM architecture
Framework Op,ons • RxSwi' • Pro: Extremely popular + huge
community • Con: Big dependency • Juice is worth the squeeze! • ReacCveCocoa • PromiseKit, BrightFutures, Interstellar • Similar, but different idea + lighterweight
?s Sample Code: h#ps:/ /github.com/joshavant/RxSignUpForm ...add'l ques+ons + talk feedback:
@joshavant
[email protected]