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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Josh Avant
July 07, 2016
Programming
1
360
Intro to Functional Reactive Programming with Swift
Talk given at CocoaHeads LA at Victorious office, on 7/7/2016
Josh Avant
July 07, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
710
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
470
AtCoder Conference 2025
shindannin
0
1.1k
Architectural Extensions
denyspoltorak
0
290
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
140
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
660
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Between Models and Reality
mayunak
1
190
Side Projects
sachag
455
43k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
83
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Git: the NoSQL Database
bkeepers
PRO
432
66k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
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]