Notification center objrct ownership


#1

On page 174, it is stated that notification center holds strong reference to its observers and should remove itself before destroyed. But how can an object receive dealloc message and destroyed if it has a strong reference to it?

Fevzi


#2

Great find! That is actually an error in the book. The sentence should read:

The rest of the paragraph is correct, explaining why this is important.

Also, from the documentation:

Retain and strong mean the same thing.