Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
App Architecture Sample
Search
Yoshikuni Kato
August 27, 2017
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
App Architecture Sample
Yoshikuni Kato
August 27, 2017
Transcript
10 slides
AppArchitecture sample @yoshikuni_kato 1
Past Architecture • MVVM-C • ը໘ભҠͷཧͱMVVM 1 • Coordinatorύλʔϯͷ࣮ફ 2
2 https://speakerdeck.com/yoching/coordinatorpatanfalseshi-jian 1 https://speakerdeck.com/yoching/hua-mian-qian-yi-falseguan-li-tomvvm 2
Past Architecture Problems • 2 tasks in Coordinator • View
Transition • Dependency Injection • hard to test • cannot replace with stub objects 3
Inspirations • Minimizing Decision Fatigue to Improve Team Productivity 3
• @try! swift 2017 • AppArchitecture(Application/UI/Components) • ґଘੑͷೖʢDependency Injectionʣ4 • Deep Linking at Kickstarter 5 • @SwiftTalk • "Routing" logics 5 https://talk.objc.io/episodes/S01E49-deep-linking-at-kickstarter 4 https://ja.wikipedia.org/wiki/%E4%BE%9D%E5%AD%98%E6%80%A7%E3%81%AE%E6%B3%A8%E5%85%A5 3 https://www.slideshare.net/DerekLee/minimizing-decision-fatigue-to-improve-team-productivity 4
Architecture 5
Sample Code • yoching/iOSAppArchitectureSample 6 6 https://github.com/yoching/iOSAppArchitectureSample 6
Workflow - when make view • make VC & VM
• make function at ViewFactory • (update services when necessary) 7
Workflow - when make service • make service • update
components 8
Workflow - When make transition • update coordinator 9
Result • Coordinator: only view transition • Factory & Components:
Dependency Injection 10
More Decks by Yoshikuni Kato
See All by Yoshikuni Kato
Fun of writing Unison
yoching
0
800
The Elm Architecture & Swift
yoching
0
1.4k
iOS developers community in Tokyo
yoching
0
1k
Swiftエンジニアが海外のポジションに応募する
yoching
10
3.4k
App Architecture By Manual DI
yoching
0
960
Passing function to function arguments
yoching
0
1k
「新規アプリの設計」を設計する
yoching
1
2.3k
App Architecture By Manual DI
yoching
2
650
関数を引数として渡す書き方のポイント
yoching
0
920
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
370
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
760
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Tell your own story through comics
letsgokoyo
1
1.1k
Discover your Explorer Soul
emna__ayadi
2
1.4k
[SF Ruby Conf 2025] Rails X
palkan
3
1.6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.3k