Files
midi_ios/Pods/ReactiveObjC/ReactiveObjC/NSNotificationCenter+RACSupport.h
2025-08-14 10:07:49 +08:00

23 lines
525 B
Objective-C

//
// NSNotificationCenter+RACSupport.h
// ReactiveObjC
//
// Created by Josh Abernathy on 5/10/12.
// Copyright (c) 2012 GitHub. All rights reserved.
//
#import <Foundation/Foundation.h>
@class RACSignal<__covariant ValueType>;
NS_ASSUME_NONNULL_BEGIN
@interface NSNotificationCenter (RACSupport)
// Sends the NSNotification every time the notification is posted.
- (RACSignal<NSNotification *> *)rac_addObserverForName:(nullable NSString *)notificationName object:(nullable id)object;
@end
NS_ASSUME_NONNULL_END