-
Notifications
You must be signed in to change notification settings - Fork 70
Changelog
-
tvOS & watchOS support
-
Warn when
Listener
is not retained.
- Xcode 7.0 Beta 4 compatible
- Swift 2.0 compatible
- Swift 1.3 compatible
- Swift 1.2 compatible
- Added
isPrior: Boolean
to theChange
class.
-
Added
NotificationListener
,EmitterListener
, andChangeListener
(all subclasses ofListener
). -
Added
Change
, a generic class with anoldValue
, anewValue
, and akeyPath
. -
All
NSObject
s have anon()
andonce()
method for KVO! -
Notification
does not subclassEmitter
anymore. -
Notification
now hasemit
methods that createNSNotification
s 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.
-
Renamed
VoidEvent
toSignal
. -
Renamed
AnyEvent
toEmitter
. -
Renamed
EventListener
toListener
. -
Renamed
EventListenerStorage
toListenerStorage
. -
Renamed
emitter.clearListeners()
toemitter.removeAllListeners()
.
- Xcode 6.0 Beta 5 compatible