This is a collection of SwiftUI samples. Each project is designed to demonstrate a single best practise in an isolated manner, with a test app and unit tests. This will culminate in the ultimate goal of creating a Starter Swift UI template which incorporates all of the concepts in a cohesive starter SwiftUI project.
- Event Aggregator
- Demonstrates the use of a simple Event Aggregator that allows a pub/sub pattern to be used between Views or View Models. This enables components in a SwiftUI app to communicate in a decoupled manner.
This can be built using Xcode 13+
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.