MyGit

7.0.0

ReactiveCocoa/ReactiveCocoa

版本发布时间: 2017-11-17 16:13:27

ReactiveCocoa/ReactiveCocoa最新发布版本:12.0.0(2021-11-20 22:26:26)

This is the first release of ReactiveCocoa 7.0. It supports Swift 3.2 and Swift 4.0.

Breaking Change

  1. ReactiveCocoa 7.0 requires ReactiveSwift 3.0 (release note).

  2. DynamicProperty no longer emits optionals. (#3461, kudos to @andersio)

    It now caches the latest value so that even if the underlying object has deinitialised, it would still be able to provide access.

  3. MapKit reactive bindings have been moved to a new ReactiveMapKit framework. (#3524)

    Sources that use the MapKit bindings are now required to import ReactiveMapKit.

    For all Xcode project users (including Carthage), targets need to be configured to link against ReactiveMapKit.

    For CocoaPods users, your Podfile needs to be updated too, since the framework is offered as a standalone pod.

    pod "ReactiveMapKit", "7.0.0-alpha.1"
    

Change

  1. ReactiveCocoa is now compatible with the Swift 4.0 language mode, in addition to the Swift 3.2 compatibility mode. (#3526, kudos to @andersio)

Addition

  1. New convenience:Property(object:keyPath:). (#3461, kudos to @andersio)

    A read-only version of DynamicProperty. Note that this variant is just for untyped key path.

  2. Subscripting reactive with a key path now yields a corresponding BindingTarget under Swift 3.2+. (#3489, kudos to @andersio)

    Example:

    label.reactive[\.text] <~ viewModel.title
    
  3. UISearchBar has gained more reactive bindings and signals. (#3531, kudos to @andersio)

    Signals: Search Button Clicked, Bookmark Button Clicked, Results List Clicked, Selected Scope Button Index

    Binding Target: Selected Scope Button Indices.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2017-11-17发行的版本