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
Module architecture in iOS applications
Search
Volodymyr Shevchenko
March 26, 2016
Programming
170
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Module architecture in iOS applications
Volodymyr Shevchenko
March 26, 2016
More Decks by Volodymyr Shevchenko
See All by Volodymyr Shevchenko
Server-side on Swift
thesantaclaus
0
49
Other Decks in Programming
See All in Programming
オーケストレーション記述言語 Katari
yukikurage
0
240
ChromeでローカルLLM
ryu1013
0
200
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
200
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
SODA - FACT BOOK(JP)
sodainc
1
40k
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
160
小さなアプリを作って公開するまで
onozaty
0
140
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3.4k
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
110
Crash Auto Pipelines
veronikapj
1
380
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
570
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
740
ラッコキーワード サービス紹介資料
rakko
5
5.7M
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
370
Chasing Engaging Ingredients in Design
codingconduct
0
390
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
290
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
600
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Transcript
Module architecture in iOS applications by Volodymyr Shevchenko software engineer
@ Yalantis
Dependency Visualizer https://github.com/PaulTaykalo/objc-dependency-visualizer ./generate-objc-dependencies-to-json.rb -d -s "" > origin.js ./generate-objc-dependencies-to-json.rb
-w -s "" > origin.js OR open index.html
None
None
None
None
None
Нам бы хотелось упорядоченности. Прозрачности. Наглядности. Отсутствия энтропии.
None
Single responsibility principle
None
None
None
Module
MFMailComposerViewController
No more FAT view controllers
Facade
--> input interface <-- output interface <-- @rootViewController Abstract module
<-- sendEmailDidCancel <-- @rootViewController Send Email module --> recipients, subject,
body, etc <-- sendEmailDidSent <-- sendEmailDidSaved <-- sendEmail: didFailedWithError:
Service
Vine
None
None
None
Video recording module --> @directoryPath <-- videoRecordingDidCancel --> insertVideo: <--
videoRecordingDidFinish <-- @rootViewController <-- videoRecording DidRequestInsertAction <-- @secondsLeft
Video selection module <-- videoSelectionDidCancel <-- videoSelection: didFinishWithVideo: <-- @rootViewController
Video trimming module <-- videoTrimmingDidCancel <-- videoTrimming: didFinishWithVideo: <-- @rootViewController
--> @maxDuration --> @originalVideoAsset
<-- videoPreviewDidCancel <-- videoPreviewDidFinish <-- @rootViewController --> setVideoAsset: containsAudio: Video
preview module --> setLocationTitle: <--> @caption <-- videoPreviewOnSelectMusicAction <-- videoPreviewOnSelectLocationAction <-- videoPreviewOnEditClipsAction <-- videoPreviewOnRemoveLocationAction <-- videoPreviewOnRemoveMusicAction
Audio selection module <-- @rootViewController --> audioSelectionDidCancel --> audioSelection: didCancelFinishWithMusic:
Location selection module <-- @rootViewController --> locationSelectionDidCancel --> locationSelection: didFinishWithLocation:
Edit clips module <-- @rootViewController --> @directoryPath <-- editClipsDidFinish <--
editClipsDidCancel --> reload
Making Vine module <-- makingVineDidCancel <-- makingVineDidFinish withFinalVideo: location: description:
<-- @rootViewController
Flow controller Making Vine Video recording Video selection Video trimming
Video preview Audio selection Location selection Edit clips Router Factory Module store View Controllers provider Making Vine service
None
None
Thanks TheSantaClal_ls
[email protected]