Skip to content
Alec Larson edited this page Apr 8, 2016 · 1 revision

v4.0.2

  • tvOS & watchOS support

  • Warn when Listener is not retained.

v4.0.1

  • Xcode 7.0 Beta 4 compatible

v4.0.0

  • Swift 2.0 compatible

v3.2.1

  • Swift 1.3 compatible

v3.2.0

  • Swift 1.2 compatible

v3.1.0

  • Added isPrior: Boolean to the Change class.

v3.0.0

  • Added NotificationListener, EmitterListener, and ChangeListener (all subclasses of Listener).

  • Added Change, a generic class with an oldValue, a newValue, and a keyPath.

  • All NSObjects have an on() and once() method for KVO!

  • Notification does not subclass Emitter anymore.

  • Notification now has emit methods that create NSNotifications under the hood.

  • Notification no longer need to be retained.

  • Removed emitter.removeAllListeners().

  • Removed emitter.listenersForTarget(target: AnyObject).

  • Removed ListenerStorage completely. Try using an [Listener] or [String:Listener].

  • Removed many exposed internal functions.

v2.0.0

  • Renamed VoidEvent to Signal.

  • Renamed AnyEvent to Emitter.

  • Renamed EventListener to Listener.

  • Renamed EventListenerStorage to ListenerStorage.

  • Renamed emitter.clearListeners() to emitter.removeAllListeners().

v1.0.0

  • Xcode 6.0 Beta 5 compatible
Clone this wiki locally