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

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. IceCubesApp

    A SwiftUI Mastodon client

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

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. 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

  4. 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

  5. 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