# Ziggurat iOS App Architecture

DevFeed: [Ziggurat iOS App Architecture](<https://devfeed.tech/articles/ziggurat-ios-app-architecture-15968.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/ziggurat-ios-app-architecture>)

Author: Square Engineering

Published: 2015-12-18T17:10:00Z

Content type: article

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [system-design-project](<https://devfeed.tech/topics/system-design-project.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [React Native](<https://devfeed.tech/topics/react-native.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [app-architecture](<https://devfeed.tech/tags/app-architecture.md>), [architecture-pattern](<https://devfeed.tech/tags/architecture-pattern.md>), [business-logic](<https://devfeed.tech/tags/business-logic.md>), [cognitive-load](<https://devfeed.tech/tags/cognitive-load.md>), [data](<https://devfeed.tech/tags/data.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [flow](<https://devfeed.tech/tags/flow.md>), [flux](<https://devfeed.tech/tags/flux.md>), [ios](<https://devfeed.tech/tags/ios.md>)

## AI overview

Ziggurat is a layered Swift app architecture that replaces MVC's loosely defined responsibilities with one-way data flow and immutable view models. A view controller passes user input to a Service, which validates it and is the only layer allowed to mutate state; it signals a Renderer, which asks a Presenter for a view model and sends that model back to the view controllers. The article says this separation can reduce oversized controllers and shared-state bugs, make components easier to test, and support headless operation and portability through dependency injection. Tradeoffs include extra boilerplate, a possible rendering bottleneck, dependency graph complexity, and animation flicker when updates interrupt animations. The author recommends it for apps that use animation sparingly; Flux is described as similar, with React Native addressing animation interruptions.

## Source excerpt

Several steps beyond model view controller