You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copyright 2019 Square Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
About
A Swift and Kotlin library for making composable state machines, and UIs driven by those state machines.