は、こういうのがあったのだけど、 中を見るとイベント発生のところとかでなぜか独自のオブジェクトを使っていたりしてよく分からなかったので、NSNotificationCenterラッパーとして実装した。 インターフェイスはこんな感じ。 typedef void (^KXEventEmitterHandler)(NSNotification* n); @interface NSObject (KXEventEmitter) - (void)kx_on:(NSString*)event handler:(KXEventEmitterHandler)handler; - (void)kx_on:(NSString*)event handler:(KXEventEmitterHandler)handler from:(id)from; - (void)kx_on:(NSString*)event s