"Overriding" Methods


#1

Hi Guys -

I think I get what is going on here but I’d like to be sure as the text is a little bit vague on this particular point. When we are “overriding” dealloc and description methods we’re actually just adding an NSLog output to them, correct? As in, the dealloc method does what it always did but now, in addition, it tells us which object is being deallocated.

If I misunderstand can somebody please clarify?

If my understanding is correct, can we “override” or rather, add to, any existing method to give it more clarity as we’ve done in this chapter?

Thanks