Our great sponsors
-
swift-composable-architecture
A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
-
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.
Check out IceCubesApp which is an Open Source mastodon client written entirely in SwiftUI https://github.com/Dimillian/IceCubesApp
I’ve built a couple of apps with this framework: https://github.com/pointfreeco/swift-composable-architecture
I made an app for the iTunes Search API using multiple screens. It uses MVVM. https://github.com/gahntpo/ItunesSearchApp
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.
Related posts
- Kaleidoscope of iOS app architectures
- 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).
- SwiftUI Structure and Architecture
- What design patterns exist and which should I learn for SwiftUI?
- Use of EnvironmentObjects for sharing ObservableObjects