If you do not use ARC, yes ... Use the dealloc method, as usual.
If ARC is enabled, you should receive warnings when explicitly using dealloc . Also check your project settings for added security. You can use a project created with Xcode 4.2 in Xcode 4.1.
In this case, the ARC setting will be located at the bottom, and not in the usual place, since it should not be recognized by Xcode 4.1.
source share