Aspects


vs


Dealloc

In Cocoa (and other frameworks that derive from NeXTSTEP), dealloc is the instance method responsible for tearing down an object

Retaincount

-retainCount is a commonly misused method related to memory management of objects in the Cocoa and Cocoa Touch frameworks

Others

Quality Example
Greater

"If your array s retaincount is greater than 1 at the start of dealloc some other object is retaining it at least temporarily"

from question "IPhone init method issue"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0