My talk from the NSBudapest meetup, held as part of Craft Conf 2018, on May 10th.
A version with presenter notes embedded is here: https://speakerdeck.com/radianttap/mind-map-your-app-with-notes
It's a short dive into a proper use of Coordinators and Layers architecture to really separate View Controllers into manageable, isolated units.
M I N D - M A P
Y O U R A P P
A l e k s a n d a r Va c i ć
C R A F T 2 0 1 8 · N S B u d a p e s t
App starts with an idea.
A business plan would help too,
but let’s not digress too much.
UI / UX is done.
The only thing left: code
Code is done.
Architecture of complex apps is
ever evolving, quite often in
– M A R T I N F O W L E R
“Architectural refactoring is hard, and we’re still
ignorant of its full costs, but it isn’t impossible.”
Patterns of Enterprise Application Architecture
O N I O N
Your app needs to be an
(Psst - I know this is garlic, but bear with me)
N O T M Y FA U LT … H O N E S T !
If you manage to separate all this,
then you don’t need colored post-it notes.
You can mind-map in code, no intermediary
prototyping tools required.
Code Mapping, enabled by…
L AY E R S
A R C H I T E C T U R E
Swift implementation of Coordinator pattern, with
several advanced features
Thin URLSession wrapper which allow seamless usage
with Operation and OperationQueue
Various useful extensions, particularly AsyncOperation
subclass of Operation
Let’s demo this approach by code-
mapping a bespoke Spotify app…
in 15-ish minutes
Follow me as @radiantav on Twitter.
Read my iOS dev blog at aplus.rs.
Use my open source stuff on GitHub.com/radianttap.
Photos (from Unsplash) by
• delfi de la Rua
• Otto Norin
• Mike Kenneally