swift-composable-architecture
A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. (by pointfreeco)
Clean Architecture for SwiftUI + Combine
SwiftUI sample app using Clean Architecture. Examples of working with SwiftData persistence, networking, dependency injection, unit testing, and more. (by nalexn)
swift-composable-architecture | Clean Architecture for SwiftUI + Combine | |
---|---|---|
60 | 6 | |
13,231 | 6,170 | |
1.2% | 1.3% | |
9.2 | 5.4 | |
1 day ago | 5 months ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-composable-architecture
Posts with mentions or reviews of swift-composable-architecture.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-24.
-
How to use .refreshable with TCA in Swift
That's it! We now have a fully functional pull-to-refresh implementation with proper handling of loading states, completion notifications, and cancellation. Full Code can be found here Similar example from TCA Case Studies repo
-
Kaleidoscope of iOS app architectures
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.
-
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).
🙏 Built with SwiftUI and The Composable Architecture (TCA): This isn’t a feature, but I just want to express my gratitude to the creators and maintainers of these two frameworks, which have played a huge part in making me fall in love with iOS development.
-
Koji je vas odnos prema alternativnim hype-ovanim paradimama programiranja, frameworcima i tehnologijama?
Razliciti alternativni frameworci i arhitekture - Recimo, na pamet mi padaju Composable Architecture (https://github.com/pointfreeco/swift-composable-architecture) i RIBs arhitektura (https://github.com/uber/RIBs). Ok, ove arhitekture resavaju neke probleme. Ali da li problemi koje te arhitekture resavaju solidan developer ne moze sam da resi bez vendor locka za kreatore tih arhitektura. Jesu one open-source, ali meni je rizik da se vezujem za bilo sta sto sutra moze da prestane da se odrzava.
- SwiftUI Structure and Architecture
-
What design patterns exist and which should I learn for SwiftUI?
I came across this post discussing MVM, MVVM, MVP, and composable architecture.
-
What is a piece of code (or Framework, extension, etc.) that you add in every new project?
At a minimum, Composable Architecture, and now Dependencies from Point-Free.
-
Ideal architecture for an app entirely in SwiftUI? Example code repo would be great
I’ve built a couple of apps with this framework: https://github.com/pointfreeco/swift-composable-architecture
- Use of EnvironmentObjects for sharing ObservableObjects
-
Best way forward coming from the Javascript / Typescript world?
While there are apps that use a Redux-style architecture, the arch is still in its infancy in the community. There are a number of implementations each with their own take on Redux. TCA is probably the one with the most name recognition and documentation.
Clean Architecture for SwiftUI + Combine
Posts with mentions or reviews of Clean Architecture for SwiftUI + Combine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-11.
- Laugh at my horrible App structure and help me do it right
-
Is there any open source project with high professional standards using Combine and/or SwiftUI?
I'd recommend looking at this repo, has full code coverage and code is written in clean manner https://github.com/nalexn/clean-architecture-swiftui/tree/mvvm
-
Hi guys, I'm new with SwiftUI, someone can help me with this error?
SwiftUI introduces Environment variables which might make MVVM obsolete. Heres an example project that achieves Clean Architecture without MVVM and uses the Environment for the presentation layer
- What's a good open source iOS app
-
Looking for SwiftUI templates/architectures
I'm aware of nalexn/clean-architecture-swiftui which I can highly recommend.
- Should I finish my app even though my architecture has broke?
What are some alternatives?
When comparing swift-composable-architecture and Clean Architecture for SwiftUI + Combine you can also consider the following projects:
iOS-Viper-Architecture - This repository contains a detailed sample app that implements VIPER architecture in iOS using libraries and frameworks like Alamofire, AlamofireImage, PKHUD, CoreData etc.
ios-architecture - A collection of iOS architectures - MVC, MVVM, MVVM+RxSwift, VIPER, RIBs and many others
VIPER Module Generator - A Swift 4.2 VIPER Module Boilerplate Generator with predefined functions and a BaseViewProtocol.
swift-composable-architecture vs iOS-Viper-Architecture
Clean Architecture for SwiftUI + Combine vs iOS-Viper-Architecture
swift-composable-architecture vs ios-architecture
Clean Architecture for SwiftUI + Combine vs ios-architecture
swift-composable-architecture vs VIPER Module Generator
Clean Architecture for SwiftUI + Combine vs VIPER Module Generator