What's new?
- New
addObserver
method for adding observers. - Support for
UUID
for unique observer identification. - Thread safety using
DispatchQueue
.
What's changed?
- The
observer
method was renamed toaddObserver
for clarity. - Improvements to the
notifyObservers
method for code simplification.
Removed
- Removal of redundant
value != nil
check.