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
Backend Driven UIs
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Swift India
January 25, 2020
Programming
0
140
Backend Driven UIs
Presented by Bhagat Singh
Swift India
January 25, 2020
Tweet
Share
More Decks by Swift India
See All by Swift India
Network Layer Abstraction
swiftindia
0
180
Efficient JSON to Object Parsing
swiftindia
0
150
Sign In with Apple
swiftindia
0
150
Furlenco's AR Journey
swiftindia
0
140
Image processing using Core Image and Metal
swiftindia
0
230
Combine - Diving into Apple’s Reactive Programming
swiftindia
1
270
Social in Hotstar
swiftindia
0
260
Improving App Launch Time
swiftindia
1
120
Introduction to AsyncDisplayKit / Texture
swiftindia
0
180
Other Decks in Programming
See All in Programming
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
220
AIプロダクト時代のQAエンジニアに求められること
imtnd
1
520
Python’s True Superpower
hynek
0
190
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
190
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
200
Raku Raku Notion 20260128
hareyakayuruyaka
0
430
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
840
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
190
AI巻き込み型コードレビューのススメ
nealle
2
2.5k
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
420
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
140
Ruby x Terminal
a_matsuda
5
550
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
230
GraphQLとの向き合い方2022年版
quramy
50
14k
Building AI with AI
inesmontani
PRO
1
760
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
63
Balancing Empowerment & Direction
lara
5
930
The Pragmatic Product Professional
lauravandoore
37
7.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
91
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
190
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
BBQ
matthewcrist
89
10k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
110
Transcript
Backend Driven UIs
PhonePe iOS Engineer raywenderlich.com Contributor
How we build it now?
We make a TableView or a CollectionView.
Includes a lot of boilerplate, which you are tired of
writing.
Bloats the app.
We keep on doing this till infinity.
The main turn off
Design Iterations
Changing that same view
Again
And Again
Again.
None
Make it independent
“Driving it from the backend”
Why would you want such a thing?
It is purely use-case dependent.
SwiftUI has not taken over the world right now.
Consistency
Adaptability
Iterative
Scaleable
Prerequisites
Design System
Steps to uniforming your UI
Invest time in making a uniform design system
Many Design tools such as Figma, Sketch, Adobe XD.
The most important part.
Get that design system into code
Make it driven from the backend.
Laying our views realtime
UICollectionView
Consists of two entities
Data and Layout
Layout
ViewType
None
ScrollType
None
Data
Data is just an array of objects, which includes necessary
parameters like title, image etc.
UI Elements
BaseView
BaseView is a UIView + A protocol which has all
necessary information to calculate sizes, set some data and so on.
BaseCollectionViewCell
BaseCollectionViewCell is a CVC which has all relevant information on
calculating size and for the layout of the rest of the view.
BaseTableViewCell
BaseTableViewCell is a container which holds all our collectionViews
Some Code
Handling Clicks
Deeplinks and ViewModels
Deeplinks are the key here for in-app navigation
Some Pros
Scaleable
Testable
No intervention necessary
Realtime Updates
Fast and hassle-free
Can last you at least a year if done properly.
Can last you at least a year if done properly.
Unless you have a crazy designer
Some Cons
Performance
Overkill
Idk if it works with Storyboards
What can be improved?
Height Calculations
Height Caching
Some boilerplate
Questions, Suggestions, Ideas!
Thanks @soulful_swift