SubjectType
public protocol SubjectType : ObservableType
Represents an object that is both an observable sequence as well as an observer.
-
The type of the observer that represents this subject.
Usually this type is type of subject itself, but it doesn’t have to be.
Declaration
Swift
associatedtype Observer : ObserverType
-
Returns observer interface for subject.
Declaration
Swift
func asObserver() -> Observer
Return Value
Observer interface for subject.