swiftea
swiftea copied to clipboard
Bits of the Elm Architecture in Swift for iOS, MacOS and SwiftUI
I tried implementing a super simple example to get started: ```Swift struct SmokeStatus: Codable { let isEnabled: Bool } enum SmokeMessage { case smokeIsEnabled(_ flag: Bool) } typealias SmokeMessageHandler =...
How would you implement the concept of subscriptions in SwifTEA? Here are some use cases: - getting location updates - responding to notifications - polling regular updates Thanks
It would be nice to be able to generate all the boilerplate when adding a command or service. Sourcery comes to mind, I'll look into it. First I am writing...
This link works though: [SwifTEA UI - Unidirectional data flow with SwiftUI and WeeDux](https://www.slideshare.net/KevinONeill1/swiftea-ui-unidirectional-data-flow-with-swiftui-and-weedux)