Expand description

A wrapper for NSNotificationCenter.

With this, you can:

  • Register for notifications, both from the system or posted from your code
  • Post your own notifications
  • Clean up and remove your handlers

Note that in some cases (e.g, looping) this will be much slower than if you have a handle and can call through to your desired path directly. This control is provided due to the need for integrating with certain aspects of the underlying Cocoa/Foundation/Kit frameworks.

Example

Enums

An enum that wraps NSNotificationName.

Traits

A trait for handling dispatched messages on the AppDelegate.