Generic Structure

NSObject.KeyValueObservingPublisher

A Combine publisher that produces a new element whenever the observed value changes.

Declaration 宣言

struct KeyValueObservingPublisher<Subject, Value> where Subject : NSObject

Overview 概要

Use this publisher to integrate a property that’s compliant with key-value observing into a Combine publishing chain. You can create a publisher of this type with the NSObject instance method publisher(for:options:), passing in the key path and a set of NSKeyValueObservingOptions.

Topics 話題

Creating a KVO Publisher

Inspecting KVO Publisher Properties

Relationships 関係

Conforms To 次に準拠

See Also 参照

Related Documentation 関連文書