Why don't we removeObserver in HeavyRotation?


First off, great book. I’m really enjoying it and finding it a great learning experience. I’m currently wrapping up Chapter 8, and was looking for some clarification on best practices for using removeObserver in dealloc.

On page 174 (Chapter 8, near the end of the “Notification Center” heading), it says: “If an object registers with the notification center, that object must unregister in its dealloc method.” But then in the HeavyRotation app, we never add that code? Why not?


In this particular case, this view controller will exist the entire time the app is running and will never be deallocated