Ideal architecture for an app entirely in SwiftUI? Example code repo would be great

This page summarizes the projects mentioned and recommended in the original post on /r/SwiftUI

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • IceCubesApp

    A SwiftUI Mastodon client

  • Check out IceCubesApp which is an Open Source mastodon client written entirely in SwiftUI https://github.com/Dimillian/IceCubesApp

  • swift-composable-architecture

    A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.

  • I’ve built a couple of apps with this framework: https://github.com/pointfreeco/swift-composable-architecture

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ItunesSearchApp

    App that uses iTunes Search API,

  • I made an app for the iTunes Search API using multiple screens. It uses MVVM. https://github.com/gahntpo/ItunesSearchApp

  • DogsClient

    A SwiftUI architectural research project that consumes the dog.ceo API

  • The best I could come up with was this - https://github.com/lutes1/DogsClient The views, viewmodels and services are decoupled and can be tested and used separately (which was the real goal) but it has some flaws, for example if for some reason the whole navigation stack is re-rendered which is normal in SwiftUI (showing the keyboard for example) then the state from the first screen is recreated and God knows where you can end up in the navigation tree next.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts