Alfian Losari 5/15/2019

Refactoring iOS app with Coordinator Pattern for Navigation

Read Original

This technical article explains how to replace traditional storyboard segues in an iOS MVC app with the Coordinator pattern. It details the problems of tight coupling and violation of the single responsibility principle in View Controllers, then provides a step-by-step refactoring guide using a sample movie list/detail app, including defining a Coordinator protocol and implementing concrete coordinators.

Refactoring iOS app with Coordinator Pattern for Navigation

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes