Skip to content

A lightweight Swift package for state management in SwiftUI applications using Combine, designed for unidirectional data flow (UDF) architectures with data-driven side-effects.

License

Notifications You must be signed in to change notification settings

silkodenis/swift-combine-store

Repository files navigation

License swift

Combine Store

Combine Store is a lightweight package for state management in SwiftUI and Combine applications, designed for unidirectional data flow (UDF) architectures. It provides a unified state management mechanism along with support for data-driven side effects.

Key Features

  • State Management: Utilizes a unified model for state and actions similar to Redux.
  • Asynchronous Effects: Supports asynchronous data-driven side-effects via Feedback mechanisms, ensuring that effects are triggered based on state changes.
  • Combine Support: Leverages powerful data stream handling and reactive programming with Combine.

Installation

Requirements

  • Swift 5.1+
  • Xcode 11+
  • iOS: iOS 13.0+
  • macOS: macOS 10.15+
  • watchOS: watchOS 6.0+
  • tvOS: tvOS 13.0+

To add the package to your project, use Swift Package Manager:

  1. Open Xcode and select “File” > “Add Packages…”
  2. Enter the URL of the package repository.
  3. Follow the instructions to complete the installation.

Usage Example

License

This project is licensed under the Apache License, Version 2.0.

About

A lightweight Swift package for state management in SwiftUI applications using Combine, designed for unidirectional data flow (UDF) architectures with data-driven side-effects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages