Confusion on Callbacks and objects ownership

In section “Callbacks and object ownership”, the book mentioned 3 rules:

it was decided that: Notification centers do not own their observers. Objects do not own their delegates. Objects do not own their targets.

There are also examples of implementation in dealloc method, beneath each one of them.

I got confused.
Do we need to implement these rules for our observers, delegates, and targets in every dealloc method of them?
Or, we can just leave them alone and “someone” will take care of implementation for us?

Please help me with it.
Thanks!

1 Like