Dispatch – A Lightweight Flux Inspired Implementation In Swift

Dispatch is an open source library submitted by Alex Umbergo providing a Flux-like single direction data flow architecture in Swift.

As the readme states:

Dispatch eschews MVC in favour of a unidirectional data flow. When a user interacts with a view, the view propagates an action through a central dispatcher, to the various stores that hold the application’s data and business logic, which updates all of the views that are affected.

Dispatch works well the previously mentioned the Render library which provides a React-inspired approach for writing Swift UIs that works well with Render, and an example to-do application is included in the project using both Dispatch and Render.

You can find Dispatch on Github here.

Dispatch along with Render provide a nice approach for interface programming in Swift.

Original article: Dispatch – A Lightweight Flux Inspired Implementation In Swift

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *