{"id":2837,"date":"2026-10-01T00:18:03","date_gmt":"2026-09-30T20:18:03","guid":{"rendered":"https:\/\/blog.alwawee.ru\/?p=2837"},"modified":"2026-10-01T00:18:03","modified_gmt":"2026-09-30T20:18:03","slug":"mvvm-coordinator-testable-navigation","status":"publish","type":"post","link":"https:\/\/blog.alwawee.ru\/?p=2837","title":{"rendered":"MVVM+C: Making Navigation Testable and Scalable"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">AI helps us develop software faster, but faster changes also increase the risk of regressions. That makes strong automated test coverage even more important.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigation is one area where plain MVVM often becomes difficult to test.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The challenge with navigation in MVVM<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In a traditional MVVM setup, the <code>ViewController<\/code> usually handles both UI and navigation: pushing the next screen, composing modules, handling deep links, and managing flow decisions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Testing this through unit tests is difficult because the logic is tightly coupled to UIKit. As a result, navigation is often covered by UI tests.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">UI tests work, but they can be slow, flaky, and expensive to maintain, which can significantly hurt the developer experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Moving navigation into a Coordinator<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MVVM+C addresses this by moving navigation into a <code>Coordinator<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>ViewController<\/code> focuses on UI, while the Coordinator handles navigation, module composition, deep links, child flows, and flow completion.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1448\" height=\"1086\" src=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png\" alt=\"MVVM + Coordinator architecture: AppCoordinator manages feature coordinators, with each module containing a ViewController and ViewModel.\" class=\"wp-image-2836\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With navigation dependencies abstracted behind testable interfaces, this makes navigation decisions easier to cover with fast, reliable unit tests. UI tests can then focus on a small number of critical end-to-end scenarios.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Scaling across features and teams<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Another benefit is loose coupling between modules. Each feature can own its own MVVM+C flow, which makes the architecture easier to scale across teams.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MVVM+C is not just about cleaner navigation. It makes navigation isolated, scalable, and testable.<\/strong><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>As AI accelerates software development, testable navigation matters more than ever. How Coordinators help isolate navigation, reduce reliance on UI tests, and scale MVVM across teams.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2837","post","type-post","status-publish","format-standard","hentry","category-ios"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MVVM+C: Making Navigation Testable and Scalable - Denis Kutlubaev<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.alwawee.ru\/?p=2837\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MVVM+C: Making Navigation Testable and Scalable - Denis Kutlubaev\" \/>\n<meta property=\"og:description\" content=\"As AI accelerates software development, testable navigation matters more than ever. How Coordinators help isolate navigation, reduce reliance on UI tests, and scale MVVM across teams.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.alwawee.ru\/?p=2837\" \/>\n<meta property=\"og:site_name\" content=\"Denis Kutlubaev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/alwaweemobile\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-30T20:18:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png\" \/>\n<meta name=\"author\" content=\"Denis Kutlubaev\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Denis Kutlubaev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837\"},\"author\":{\"name\":\"Denis Kutlubaev\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"headline\":\"MVVM+C: Making Navigation Testable and Scalable\",\"datePublished\":\"2026-09-30T20:18:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837\"},\"wordCount\":228,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/MVVMC.png\",\"articleSection\":[\"iOS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837\",\"name\":\"MVVM+C: Making Navigation Testable and Scalable - Denis Kutlubaev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/MVVMC.png\",\"datePublished\":\"2026-09-30T20:18:03+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#primaryimage\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/MVVMC.png\",\"contentUrl\":\"https:\\\/\\\/blog.alwawee.ru\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/MVVMC.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/?p=2837#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.alwawee.ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MVVM+C: Making Navigation Testable and Scalable\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#website\",\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/\",\"name\":\"Denis Kutlubaev\",\"description\":\"iOS Development\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blog.alwawee.ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.alwawee.ru\\\/#\\\/schema\\\/person\\\/58f1f1f57155b48afab83ba53b3e26a7\",\"name\":\"Denis Kutlubaev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg\",\"caption\":\"Denis Kutlubaev\"},\"description\":\"iOS Developer, creator of Tornado Browser and many other popular apps\",\"sameAs\":[\"http:\\\/\\\/dennis.alwawee.com\"],\"url\":\"https:\\\/\\\/blog.alwawee.ru\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MVVM+C: Making Navigation Testable and Scalable - Denis Kutlubaev","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.alwawee.ru\/?p=2837","og_locale":"en_US","og_type":"article","og_title":"MVVM+C: Making Navigation Testable and Scalable - Denis Kutlubaev","og_description":"As AI accelerates software development, testable navigation matters more than ever. How Coordinators help isolate navigation, reduce reliance on UI tests, and scale MVVM across teams.","og_url":"https:\/\/blog.alwawee.ru\/?p=2837","og_site_name":"Denis Kutlubaev","article_publisher":"https:\/\/www.facebook.com\/alwaweemobile","article_published_time":"2026-09-30T20:18:03+00:00","og_image":[{"url":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png","type":"","width":"","height":""}],"author":"Denis Kutlubaev","twitter_misc":{"Written by":"Denis Kutlubaev","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.alwawee.ru\/?p=2837#article","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/?p=2837"},"author":{"name":"Denis Kutlubaev","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"headline":"MVVM+C: Making Navigation Testable and Scalable","datePublished":"2026-09-30T20:18:03+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=2837"},"wordCount":228,"commentCount":0,"image":{"@id":"https:\/\/blog.alwawee.ru\/?p=2837#primaryimage"},"thumbnailUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png","articleSection":["iOS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.alwawee.ru\/?p=2837#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.alwawee.ru\/?p=2837","url":"https:\/\/blog.alwawee.ru\/?p=2837","name":"MVVM+C: Making Navigation Testable and Scalable - Denis Kutlubaev","isPartOf":{"@id":"https:\/\/blog.alwawee.ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.alwawee.ru\/?p=2837#primaryimage"},"image":{"@id":"https:\/\/blog.alwawee.ru\/?p=2837#primaryimage"},"thumbnailUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png","datePublished":"2026-09-30T20:18:03+00:00","author":{"@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7"},"breadcrumb":{"@id":"https:\/\/blog.alwawee.ru\/?p=2837#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.alwawee.ru\/?p=2837"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.alwawee.ru\/?p=2837#primaryimage","url":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png","contentUrl":"https:\/\/blog.alwawee.ru\/wp-content\/uploads\/2026\/10\/MVVMC.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.alwawee.ru\/?p=2837#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.alwawee.ru\/"},{"@type":"ListItem","position":2,"name":"MVVM+C: Making Navigation Testable and Scalable"}]},{"@type":"WebSite","@id":"https:\/\/blog.alwawee.ru\/#website","url":"https:\/\/blog.alwawee.ru\/","name":"Denis Kutlubaev","description":"iOS Development","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.alwawee.ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.alwawee.ru\/#\/schema\/person\/58f1f1f57155b48afab83ba53b3e26a7","name":"Denis Kutlubaev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/346de75d27c818be0aa7fddeada2e50e30cc15b4da6b3b8110c5d766cd2afa34?s=96&d=mm&r=pg","caption":"Denis Kutlubaev"},"description":"iOS Developer, creator of Tornado Browser and many other popular apps","sameAs":["http:\/\/dennis.alwawee.com"],"url":"https:\/\/blog.alwawee.ru\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/2837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2837"}],"version-history":[{"count":1,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/2837\/revisions"}],"predecessor-version":[{"id":2838,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=\/wp\/v2\/posts\/2837\/revisions\/2838"}],"wp:attachment":[{"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.alwawee.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}