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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Swift India
January 25, 2020
Programming
150
0
Share
Backend Driven UIs
Presented by Bhagat Singh
Swift India
January 25, 2020
More Decks by Swift India
See All by Swift India
Network Layer Abstraction
swiftindia
0
180
Efficient JSON to Object Parsing
swiftindia
0
160
Sign In with Apple
swiftindia
0
160
Furlenco's AR Journey
swiftindia
0
140
Image processing using Core Image and Metal
swiftindia
0
240
Combine - Diving into Apple’s Reactive Programming
swiftindia
1
280
Social in Hotstar
swiftindia
0
260
Improving App Launch Time
swiftindia
1
130
Introduction to AsyncDisplayKit / Texture
swiftindia
0
190
Other Decks in Programming
See All in Programming
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
600
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
450
🦞OpenClaw works with AWS
licux
1
320
[RubyKaigi 2026] Require Hooks
palkan
1
280
Don't Prompt Harder, Structure Better
kitasuke
0
800
GitHubCopilotCLIをはじめよう.pdf
htkym
0
310
ソフトウェア設計の結合バランス #phperkaigi
kajitack
0
170
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
210
AIを導入する前にやるべきこと
negima
2
320
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
440
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
160
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
We Have a Design System, Now What?
morganepeng
55
8.1k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
360
The untapped power of vector embeddings
frankvandijk
2
1.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
190
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Designing Experiences People Love
moore
143
24k
KATA
mclloyd
PRO
35
15k
How to train your dragon (web standard)
notwaldorf
97
6.6k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
290
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
230
Build your cross-platform service in a week with App Engine
jlugia
234
18k
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