Swiftpack.co - cooler333/Swiftea as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by cooler333.
cooler333/Swiftea 0.9.4
Swift implementation of the elm architecture (TEA)
⭐️ 7
🕓 2 days ago
iOS macOS
.package(url: "https://github.com/cooler333/Swiftea.git", from: "0.9.4")

Swiftea

If you were looking for a something like this:

  • TEA (The Elm Architecture)
  • MVU (Model-View-Update)
  • MVI (Model-View-Intent)
  • Redux-like
  • Flux-like
  • UDF (Unidirectional Data Flow)
  • e.t.c

...but on Swift. Then you have found it!

Swiftea is implementation of TEA/MVU architecture pattern using Swift.

Features

  • Cancellable side effects (cancel outdated network requests)
  • Do not use 3rd party libraries
  • use Combine
  • 100% business logic code coverage
  • Lightweight: 2 structs, 1 enum, 2 final classes; less than 200 lines of code

We're open to merge requests

Examples

Other

Requirements

  • iOS: 13.0
  • Swift: 5.5

Installation (Cocoapods / SPM)

Swiftea is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Swiftea'

Also you can integrate framework as SPM package

Alternatives

Author

Dmitrii Coolerov, coolerov333@gmail.com

License

Swiftea is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 7
Last commit: 3 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Preproduction build
2 days ago
  • Fully tested
  • Add infinite scroll example with tests

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics