Gitstar Ranking
Users
Organizations
Repositories
Rankings
Users
Organizations
Repositories
Sign in with GitHub
ole
Fetched on 2024/05/01 00:49
ole
/
NotificationUnregistering
Testing the behavior of the block based NotificationCenter API. Do you have to call NotificationCenter.removeObserver(_:) or is it enough to let the observer token go out of scope? Turns out: the former (tested on iOS 11.2). -
View it on GitHub
https://oleb.net/blog/2018/01/notificationcenter-removeobserver/
Star
16
Rank
896040