In Swift 4, how do I remove a block-based KVO observer?
In iOS 11, you don’t have to. Just let the observer go out of scope. There is no penalty any longer for letting an observer die before the observed or for letting the observed die before the observer, so you have no actual work to do. On the other hand, if you really want to … Read more