Skip to content

Commit 3a973c8

Browse files
committed
Tweaked docs comment
1 parent 5c20b7f commit 3a973c8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Sources/CombineExtensions/CurrentValuePublisher/CurrentValuePublisher+KVO.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ extension KVOCurrentValuePublishing where Self: NSObject {
99
/// Returns a `CurrentValuePublisher` that tracks the current value of a KVO-compliant property.
1010
///
1111
/// - Parameter keyPath: The key path of the property to observe.
12-
/// - Returns: A `CurrentValuePublisher` that tracks the property's value.
12+
/// - Returns: A `CurrentValuePublisher` that tracks the propertys value.
1313
///
14-
/// This implementation follows the approach of `NSObject.publisher(for:options:)` from Foundation,
15-
/// previously available in the [swift-corelibs-foundation](https://bit.ly/nsobject-keyvalueobserving)
14+
/// This implementation follows the approach of `NSObject.publisher(for:options:)` from
15+
/// Foundation. Its exact up-to-date declaration is difficult to find in Apple’s documentation,
16+
/// as discussed in [this Stack Overflow post](https://stackoverflow.com/q/60381905/670119),
17+
/// but it can be found in an older version of the [swift-corelibs-foundation](https://bit.ly/nsobject-keyvalueobserving)
1618
/// open source repository.
1719
public func currentValuePublisher<Value>(
1820
for keyPath: KeyPath<Self, Value>

0 commit comments

Comments
 (0)