Swift单向数据流 ReSwift

码农软件 · 软件分类 · 其他(Others) · 2019-07-17 08:28:59

软件介绍

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"

软件截图


本文地址:https://codercto.com/soft/d/10310.html

Programming in Haskell

Programming in Haskell

Graham Hutton / Cambridge University Press / 2007-1-18 / GBP 34.99

Haskell is one of the leading languages for teaching functional programming, enabling students to write simpler and cleaner code, and to learn how to structure and reason about programs. This introduc......一起来看看 《Programming in Haskell》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

SHA 加密
SHA 加密

SHA 加密工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具