Swiftpack.co -  lyptt/ReactiveView as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
lyptt/ReactiveView
A simpler architecture for UIKit apps
.package(url: "https://github.com/lyptt/ReactiveView.git", from: "0.1.0")

ReactiveView

ReactiveView is a small library that allows you to simplify complex view controllers via the MVVM pattern.

A ViewModel class is provided that emits events whenever its state changes. Subclasses of ViewModel expose handlers for user interactions like button taps, which then updat its state accordingly.

These state updates then get passed to your view controllers automatically along with the previous state, allowing you to handle transitioning between states in your view controller.

See the example in the Sample folder for further information.

GitHub

link
Stars: 0
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Version 0.1.0
4 weeks ago

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