Skip to content

ObservableForPropertyBase.ObservableFromNotification(NSObject, Expression, NSString) method

Defined in

Type: ObservableForPropertyBase Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net10.0-ios26.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0

protected static IObservable<IObservedChange<object, object?>> ObservableFromNotification(NSObject sender, Expression expression, NSString notification)

View source

Summary: Creates an observable sequence that produces a notification each time the specified NSNotificationCenter notification is posted for sender.

Parameters

NameTypeDescription
senderNSObjectThe native sender.
expressionExpressionThe expression associated with the observed change.
notificationNSStringThe notification name.

Returns: IObservable> -- An observable sequence of observed changes.