One Logo Pool Ball
Combine · IOS API REFERENCE

Subject

protocol · iOS 13.0+ · SDK 27.1

protocol Subject<Output, Failure> : AnyObject, Publisher

A publisher that exposes a method for outside callers to publish elements. A subject is a publisher that you can use to ”inject” values into a stream, by calling its ``Subject/send(_:)`` method. This can be useful for adapting existing imperative code to the Combine model.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Subject.send()

The iOS SDK compiler rejected this binding: referencing instance method 'send()' on 'Subject' requires the types 'Self.Output' and '()' be equivalent

All Combine types →