xRedux is a state management library for Swift applications, inspired by Redux architecture. It provides a predictable state container that helps manage application state in a consistent and maintainable way.
To use xRedux in your Swift project, you can add it as a dependency using Swift Package Manager (SPM). Here’s how:
- Open your
Package.swiftfile. - Add
xReduxto the dependencies array:.package(url: "https://github.com/xvicient/xRedux.git", from: "1.0.0")
- Add
xReduxto your target's dependencies:.target(name: "YourTargetName", dependencies: ["xRedux"]),
- Run
swift package updateto fetch the package.
Import xRedux in your Swift files:
import xReduxYou can now start using xRedux to manage your application state.
GroceryApp Full app with a reducer handling data fetching and user actions. Full testing coverage with Swift Testing.
Doc for the entire repository.
Xavier Vicient Manteca
This project is proprietary software. All rights reserved © 2025 Xavier Vicient Manteca. Unauthorized distribution is prohibited.