微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ReSwift Swift单向数据流

程序名称:ReSwift

授权协议: MIT

操作系统: iOS

开发语言: Swift

ReSwift 介绍

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"

软件截图

ReSwift 官网

http://reswift.github.io/ReSwift/master/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐