Declarative Swift in Action

In this article I want to explain how we can write fully declarative Swift. This coding style emerged somehow naturally when I started working on an architecture that I had designed specifically to be easily adaptable in agile teams — actually the goal was to unlock agility for teams in the first place.

In this article I will focus on the actual syntax and show how it is aligned to the semantics of the app.

I will not show every facet of my architecture (project name: Core|UI), but you will find a link to a series of articles I wrote…


Great article! Thanks for sharing it.

I wonder if you would like to have a look at a very different kind of iOS architecture, which I would describe a "Modularized Command Interpreter" and the declarative coding style fo Swift I encountered along the way when developing it. https://decodemeester.medium.com/fully-declarative-swift-for-real-world-projects-9b6ee9403f4c?source=friends_link&sk=fb421abb99432831b6ecb8ac8d57ebf8

Thanks for your feedback.


What I find quite interesting that none of the so-called agile frameworks takes the production step into account. Or in other words: how do you expect to be agile if the code you are working with is a chaotic bowl of mess, often called Spaghetti Code, but more accuratly described as Barb Wire Code — as we do get trapped in it.

I have developed an architecture to adress those concerns. https://vikingosegundo.gitlab.io/posts/agile-development-and-architecture/

Manuel Meyer

Freelance Software Developer and Code Strategist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store