Typealiases

The following typealiases are available globally.

  • Describes a Cocoa notification.

    Declaration

    Swift

    public typealias CocoaNotification = Notification<Any, AnyObject>
  • Describes a closure for Cocoa notifications.

    Declaration

    Swift

    public typealias CocoaClosure = CocoaObserver.NotificationClosure
  • Describes a notification’s userInfo dictionary.

    Declaration

    Swift

    public typealias UserInfo = [NSObject : AnyObject]
  • Describes a Cocoa observer.

    Declaration

    Swift

    public typealias CocoaObserver = NotificationObserver<Any, AnyObject>