Home

Awesome

Ziggurat Example App

This is a (spartan) example app to illustrate the components of a Ziggurat app architecture and how they fit together. This app architecture is being used at Square to improve testability and prevent massive view controllers.

This app only does one thing, which is add a pre-computed discount amount to a cart.

This simple app is very similar to the original app I wrote to test if this app architecture is feasible, and to give the idea tangible form.

Since the inital prototype, we've grown an app that uses the Ziggurat architecture to over 69,000 lines of Swift code.

Components in more depth