{"repo":"square/workflow","free":true,"listed":false,"github":"https://github.com/square/workflow","clone":"git clone https://github.com/square/workflow.git","description":"A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.","language":"Shell","stars":1164,"topics":["reactive","ui","state-machine","kotlin","android","swift","ios","workflow"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Overview Workflow is a unidirectional data flow (UDF) library that provides navigation and state management for Kotlin and Swift applications. It can be compared to (and helped inspire!) TCA, Circuit and Molecule. Workflow's main difference from its peers is its opionated take on navigation: that navigation is just another form of presenter state to be managed, not a separate special concern. Workflow… Uses immutable data within each Workflow. Data flows in a single direction from source to UI, and events in a single direction from the UI to the business logic. Supports writing business logic and complex UI navigation logic as state machines, thereby enabling confident reasoning about state and validation of correctness. Provides excellent support for recursion -- workflows of workflows of workflows -- as its main idiom for navigation. Is optimized for composability and scalability of features and screens. Includes UI frameworks that bind Rendering data classes for “views” (including event callbacks) to Mobile UI frameworks for Android and iOS. Provides a testing framework that facilitates simple-to-write unit tests for all application business logic and helps ensure correctness. Using Workflows in your project Swift See the square/workflow-swift repository. Kotlin See the square/workflow-kotlin repository. Resources Wondering why to use Workflow? See \"Why Workflow\" There is a Glossary of Terms We have a User Guide describing core concepts. For Kotlin (and Android), there is ","default_branch":null,"files":null,"tree":[],"storefront":"/r/square","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/square/workflow/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}