Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. Dispatch

Dispatch

Swift3.8.0

A unidirectional, transactional, operation-based state management library for Swift and SwiftUI applications.

GitHubGitHub
501 stars34 forks0 contributors

What is Dispatch?

Store is a state management library for Swift and SwiftUI applications that implements a unidirectional, transactional, and operation-based architecture. It provides a predictable way to handle state changes in iOS, macOS, watchOS, tvOS, and Linux applications by ensuring state mutations follow a strict flow and are performed as atomic transactions.

Target Audience

Swift developers building applications with SwiftUI who need a robust, predictable state management solution for complex user interfaces and data flows.

Value Proposition

Developers choose Store for its strict unidirectional data flow, transactional operation guarantees, and seamless integration with SwiftUI and modern Swift concurrency features like async/await, making state management more maintainable and testable.

Overview

Unidirectional, transactional, operation-based Store implementation.

Use Cases

Best For

  • Managing complex state in SwiftUI applications
  • Implementing predictable state mutations in iOS/macOS apps
  • Handling asynchronous operations with async/await in state management
  • Building testable state logic with transactional guarantees
  • Creating maintainable data flow architectures in Swift projects
  • Developing cross-platform Swift apps for Apple ecosystems and Linux

Not Ideal For

  • Projects requiring high test coverage and mature documentation
  • Teams not using modern Swift concurrency features like async/await
  • Applications with simple state needs where a full unidirectional flow is overkill

Pros & Cons

Pros

Predictable Data Flow

Enforces unidirectional data flow, making state mutations predictable and easier to debug, as highlighted in the key features.

Transactional Guarantees

State updates are atomic transactions, ensuring consistency and preventing partial updates, per the transactional operations architecture.

Async/Await Integration

Built with modern Swift concurrency features, allowing clean handling of asynchronous operations in state management.

SwiftUI First-Class Support

Designed to work seamlessly with SwiftUI's declarative framework, as stated in the integration features.

Cons

Low Test Coverage

With only 45.8% code coverage indicated by the badge, the library may have untested areas and potential reliability issues.

In-Development Instability

The library is being reworked to adopt async/await, which could lead to breaking changes and incomplete features during transition.

Architectural Complexity

The transactional and operation-based architecture requires a steeper learning curve and more boilerplate compared to simpler state management solutions.

Frequently Asked Questions

Quick Stats

Stars501
Forks34
Contributors0
Open Issues0
Last commit4 years ago
CreatedSince 2017

Tags

#macos-development#async-await#store#combine#unidirectional-data-flow#binding#swiftui#ios-development#swift#mobile-apps#state-management#dispatcher#redux

Built With

S
SwiftUI
S
Swift

Included in

iOS51.7k
Auto-fetched 18 hours ago

Related Projects

Swift Algorithm ClubSwift Algorithm Club

Algorithms and data structures in Swift, with explanations!

Stars29,094
Forks4,949
Last commit1 year ago
DollarDollar

A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

Stars4,239
Forks362
Last commit2 years ago
DifferenceKitDifferenceKit

💻 A fast and flexible O(n) difference algorithm framework for Swift collection.

Stars3,663
Forks242
Last commit1 month ago
ResultResult

Swift type modelling the success/failure of arbitrary operations.

Stars2,493
Forks227
Last commit5 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub