Categories
apple ios

Improve Observer Pattern APIs in Swift With Weak Collections

Improve the reminiscence utilization of your apps

Bruno Rocha
Photo through Sonja Punz on Unsplash.
deinit {
NotificationCenter.default.take awayObserver(self, ...)
}