LoginSignup
5
2

More than 5 years have passed since last update.

katana-swift + redux-dev toolsを試して見た

Last updated at Posted at 2018-01-31

はじめに

  • swiftでReduxがライクなライブラリを調べているときに試して見たのでまとめて見ました

katana-swiftとは

BendingSpoons/katana-swift

Swift Apps in a Swoosh! A modern framework for creating iOS and macOS apps, inspired by React and Redux.

  • ReactとReduxと似たような仕組みを提供するライブラリである

準備

1. Xcodeのプロジェクトにkatana-swiftを追加

2. katanaMonitor-lib-swiftを追加

bolismauro/katanaMonitor-lib-swift
redux-devtools用のmiddleware

3. remotedev-serverを追加

npm install -g remotedev-server

4. localHostの設定

http://remotedev.io/local/を開き、Settingsから localHostの設定を行います

実行

1. remotedevを起動する

remotedev

2. アプリの起動

  • アプリのアクションがredux-devtoolsで表示されます

DEMO

demo.gif

参考リンク 

BendingSpoons/katana-swift
bolismauro/katanaMonitor-lib-swift
gaearon/redux-devtools

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2