Skip to content

Commit 30aaa93

Browse files
committed
Documentation fixes according to review
1 parent b47748d commit 30aaa93

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Documentation/FrameworkOverview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ The current value of a property can be obtained from the `value` getter. The
144144
the property’s current value, followed by all changes over time. The `signal` getter returns a [signal](#signals) that will send all changes over time, but not the initial value.
145145

146146
The `<~` operator can be used to bind properties in different ways. Note that in
147-
all cases, the target has to be a [`BindingTarget`][BindingTarget], [`MutableProperty`][MutableProperty] is the only property that implements this.
147+
all cases, the target has to be a binding target, represented by the [`BindingTargetProtocol`][BindingTarget]. All mutable property types, represented by the [`MutablePropertyProtocol`][MutableProperty], are inherently binding targets.
148148

149149
* `property <~ signal` binds a [signal](#signals) to the property, updating the
150150
property’s value to the latest value sent by the signal.

ReactiveSwift.playground/Pages/Property.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ scopedExample("Creation") {
6767
### Binding
6868

6969
The `<~` operator can be used to bind properties in different ways. Note that in
70-
all cases, the target has to be a [`BindingTarget`](https://github.com/ReactiveCocoa/ReactiveSwift/blob/master/Sources/UnidirectionalBinding.swift) , [`MutableProperty`](https://github.com/ReactiveCocoa/ReactiveSwift/blob/master/Sources/Property.swift#L28) is the only property that implements this.
70+
all cases, the target has to be a binding target, represented by the [`BindingTargetProtocol`](https://github.com/ReactiveCocoa/ReactiveSwift/blob/master/Sources/UnidirectionalBinding.swift). All mutable property types, represented by the [`MutablePropertyProtocol`](https://github.com/ReactiveCocoa/ReactiveSwift/blob/master/Sources/Property.swift#L28), are inherently binding targets.
7171

7272
* `property <~ signal` binds a [signal](#signals) to the property, updating the
7373
property’s value to the latest value sent by the signal.

ReactiveSwift.playground/contents.xcplayground

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<playground version='6.0' target-platform='osx' display-mode='rendered'>
2+
<playground version='6.0' target-platform='osx' display-mode='raw'>
33
<pages>
44
<page name='Sandbox'/>
55
<page name='SignalProducer'/>

0 commit comments

Comments
 (0)