Hacker News new | ask | show | jobs
by kimon 4497 days ago
Correct. Add a strong reference from observer to KVOController instance via a property or instance variable and you've achieved un-observation on observer dealloc :)

This usage pattern is quite common. We'll look into calling this out more explicitly in the readme. Thanks for the feedback!