In the reference I see that registering an observer to notifications is possible with a null observer pointer. However, both remove methods require a valid pointer value that is not NULL. How do I overcome that when registration is done without one?
I also noticed in this answer example CFNotificationCenter usage examples? removing is done with NULL, but again, according to the reference - that is wrong .
So, what is the right way to remove registration done with NULL observer? Are they not supposed to be removed (they are just left there till memory is cleared due to application exit??)???
Any explanation is much appreciated!