Latest 0.2.0
Homepage https://github.com/clmntcrl/swidux-echo
License MIT
Platforms ios 10.0, osx 10.10, tvos 10.0
Dependencies Swidux
Frameworks XCTest
Authors

SwiduxEcho

This is the first middleware built for Swidux. It’s a simple logger which print action and updated Swidux’s store in the console.

Usage

You just have to pass echo() into the Store init.

import Swidux
import SwiduxEcho

let store = Store<AppState>(
    initialState: AppState(),
    reducer: reducer,
    middlewares: [ echo() ]
)

Installation

Carthage

Add the following dependency to your Cartfile:

github "clmntcrl/swidux-echo" ~> 0.2

CocoaPods

Add the following pod to your Podfile:

pod 'SwiduxEcho', '~> 0.2'

SwiftPM

Add the package as dependency in your Package.swift:

dependencies: [
    .package(url: "https://github.com/clmntcrl/swidux-echo.git", from: "0.2.0"),
]

License

SwiduxEcho is released under the MIT license. See LICENSE for details.

Latest podspec

{
    "name": "SwiduxWatchmen",
    "version": "0.2.0",
    "summary": "Middleware for action side effects in Swidux using u201cWatchmenu201c ud83dude42",
    "homepage": "https://github.com/clmntcrl/swidux-echo",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Clu00e9ment Cyril": "[email protected]"
    },
    "social_media_url": "http://twitter.com/clmntcrl",
    "swift_version": "4.2",
    "platforms": {
        "ios": "10.0",
        "osx": "10.10",
        "tvos": "10.0"
    },
    "source": {
        "git": "https://github.com/clmntcrl/swidux-watchmen.git",
        "tag": "0.2.0"
    },
    "frameworks": "XCTest",
    "source_files": [
        "Sources",
        "Sources/**/*.swift"
    ],
    "dependencies": {
        "Swidux": [
            "~> 1.0.0"
        ]
    }
}

Pin It on Pinterest

Share This