Our great sponsors
-
swift-composable-architecture
A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
CombineFeedback
Unidirectional reactive architecture using new Apple Combine framework https://developer.apple.com/documentation/combine
TCA for short. Very scalable, quite promising, quite popular. A decent alternative for MVVM enhanced by the Clean Architecture. You can learn more about it in a Point-Free tutorial and on GitHub.
Originally created for React web apps. Difficult to navigate the code, messy side-effects. ReSwift is a prominent implementation for iOS, although the project doesn’t show much activity anymore. There are others. SwiftRex, for example.
TCA makes use of FSMs. There are also separate frameworks like ReactiveFeedback and CombineFeedback that can be plugged in. There’s a good article by Vadim Bulavin that showcases the CombineFeedback in action.
Related posts
- 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?
- Ideal architecture for an app entirely in SwiftUI? Example code repo would be great
- Use of EnvironmentObjects for sharing ObservableObjects