Swift单向数据流 ReSwift

MIT
Swift 查看源码»
iOS
2016-03-23
诺克萨斯

ReSwift是一款终极版样实现Swift单向数据流架构

介绍

ReSwift可以帮助你把应用程序的组件分为三个重要点:

  • State: in a ReSwift app the entire app state is explicitly stored in a data structure. This helps avoid complicated state management code, enables better debugging and has many, many more benefits...

  • Views: in a ReSwift app your views update when your state changes. Your views become simple visualizations of the current app state.

  • State Changes: in a ReSwift app you can only perform state changes through actions. Actions are small pieces of data that describe a state change. By drastically limiting the way state can be mutated, your app becomes easier to understand and it gets easier to work with many collaborators.

安装

CocoaPods

use_frameworks!

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

pod 'ReSwift'

Carthage

github "ReSwift/ReSwift"

软件截图


的码云指数为
超过 的项目
加载中

评论(0)

暂无评论

ReSwift 1.0.0 发布,Swift单向数据流

ReSwift 1.0.0 发布了,ReSwift是一款终极版样实现Swift单向数据流架构。 API更新: Remove callback arguments on synchronous dispatch methods - @Ben-G 其他更新: Move all documentati...

2016/03/23 07:58

没有更多内容

加载失败,请刷新页面

没有更多内容

暂无问答

暂无博客

返回顶部
顶部