objective c - super dealloc on ARC subclasses -


in arc i'm aware not call [super dealloc] in overrides of -dealloc, typically remove observers , timers in there without doing so. however, if subclass view made releases observation info in -dealloc without calling [super dealloc] in subclass' implementation of method, super implementation called automatically release observation info handled superclass, or leak?

the superclass' implementation of dealloc automatically called (as far know, compiler inserts statement [super dealloc] you).

external link llvm docs

update

here reference:

custom dealloc methods in arc not require call [super dealloc] (it results in compiler error). chaining super automated , enforced compiler. transitioning arc release notes

enter image description here


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -