Zombies and ARC
Prior to iOS 6 / OS X 10.8, using the the Zombies instrument or NSZombieEnabled or the "Enable Zombie Objects" Xcode diagnostic, prevented ARC from “cleaning up” instance variables at deallocation-time. Your
-dealloc
methods would still be run, however any instance variables that you didn’t explicitly set tonil
would be untouched. If an instance variable strongly referenced an object, then that object would be kept alive forever by the abandoned instance variable.
Via Cédric Luthi, who offers a workaround.