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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • IceCubesApp

    A SwiftUI Mastodon client

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

  • 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
  • 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

  • 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

  • Kaleidoscope of iOS app architectures

    3 projects | dev.to | 29 Jan 2024
  • My largest project yet: A fully themable, powerful task manager and daily planner built with SwiftUI. Available on iPhone and iPad for free (no ads, IAP or data collected).

    1 project | /r/iOSProgramming | 17 Sep 2023
  • SwiftUI Structure and Architecture

    1 project | /r/SwiftUI | 17 May 2023
  • What design patterns exist and which should I learn for SwiftUI?

    1 project | /r/iOSProgramming | 26 Apr 2023
  • Use of EnvironmentObjects for sharing ObservableObjects

    1 project | /r/SwiftUI | 18 Feb 2023