Hi Dan, nice to meet you and many thanks for the interesting comment.

Why do you think that we should be able to reference a Coordinator by a string? What use case are you looking at?

Stringification is usually something we would like to avoid. It is error-prone and the compiler can't help us if we pass a bad string. So I'd personally avoid such an approach.

For the second part, I think it depends on the specific application. If you have that need, you can keep a reference to the RootCoordinator in the AppDelegate and use it to respond to a deep link for example. But I won't add features that are not necessary and those specific use cases are slightly out-of-scope for this article.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Riccardo Cipolleschi
Riccardo Cipolleschi

Written by Riccardo Cipolleschi

Hey there, I’m Riccardo. Software engineer at Meta. I have a passion for iOS and I love to share my knowledge with others.

Responses (1)

Write a response