Removing Observers in Cocoa Post-ARC

So far, I have removed observers (notifications or CVOs) in dealloc. Since dealloc has gone to ARC, what is the recommended way to do this?

+4
source share
1 answer

-dealloc does not fall under ARC. Functions related to ivar release and super call are handled automatically, which allows you to omit it if thatโ€™s all you are going to do, but you should still implement it for other things if it makes sense to do so.

+17
source

All Articles