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
RIBs
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Naoki ISHIKAWA
March 08, 2018
Technology
2
1.8k
RIBs
About mobile architecture using RIBs from uber
Naoki ISHIKAWA
March 08, 2018
Tweet
Share
More Decks by Naoki ISHIKAWA
See All by Naoki ISHIKAWA
パラレルの通話を支える iOS アプリ上での技術
jarinosuke
0
2.2k
メルペイのエンジニアリング組織の変化と目指すチーム像
jarinosuke
5
6.6k
US 版 Mercari をまるごと1から作り直した話
jarinosuke
2
4.4k
メルカリiOSアプリ開発の現状とこれから / Mercari Day 2017
jarinosuke
3
6.8k
Drink Meetup with Mercari #36
jarinosuke
0
1.2k
Switching Icon.png depending on each environment
jarinosuke
2
11k
Other Decks in Technology
See All in Technology
Phase05_ClaudeCode入門
overflowinc
0
2.3k
ADK + Gemini Enterprise で 外部 API 連携エージェント作るなら OAuth の仕組みを理解しておこう
kaz1437
0
210
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
210
LLMに何を任せ、何を任せないか
cap120
10
5.9k
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
770
How to install a gem
indirect
0
1.7k
FlutterでPiP再生を実装した話
s9a17
0
210
SaaSに宿る21g
kanyamaguc
2
170
Zephyr(RTOS)でOpenPLCを実装してみた
iotengineer22
0
130
Sansanの認証基盤を支えるアーキテクチャとその振り返り
sansantech
PRO
1
110
Phase10_組織浸透_データ活用
overflowinc
0
1.8k
Cursor Subagentsはいいぞ
yug1224
2
100
Featured
See All Featured
Designing for Performance
lara
611
70k
Site-Speed That Sticks
csswizardry
13
1.1k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
Between Models and Reality
mayunak
2
240
My Coaching Mixtape
mlcsv
0
86
Facilitating Awesome Meetings
lara
57
6.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
160
Color Theory Basics | Prateek | Gurzu
gurzu
0
260
sira's awesome portfolio website redesign presentation
elsirapls
0
200
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
Information Architects: The Missing Link in Design Systems
soysaucechin
0
850
A better future with KSS
kneath
240
18k
Transcript
RIBsΛ༻͍ͨϞόΠϧ ΞʔΩςΫνϟઃܭ Naoki ISHIKAWA (@jarinosuke) try!Swift Tokyo After talks
Self Introduction • ੴथ Naoki ISHIKAWA • @jarinosuke • iOS
Engineer at merpay, Inc
uber/RIBs
None
Agenda • 1.What is RIBs? • 2.Motivation • 3.Inside of
RIBs • Overview • Units • 4.Conclusion
1.What is RIBs? • Shared architecture between iOS/Android • Testability
and Isolation • Scalable between hundreds of engineers in Uber
2.Motivation • Problem • MVC with massive view controllers •
Technical debt accumulated by adding new features • Try • Keep high-quality core experience for users • Allow radical experimentation/test in product
3.Inside of RIBs
None
RIBs units
Router Attaching/Detaching child RIBs
Interactor Handle all business logic that will be displayed on
view
Builder Define all dependences and instantiate classes in RIB
Presenter Manage communications between Interactor and View
View(Controller) ViewController with no logic Just display data from Presenter
Communication between RIBs
4.Conclusion • Business logic tree provided by RIBs can drive
• Isolation of codes • Scalability in team and business • uber/RIBs can be one of the good choice of mobile architecture
!