Re: Meaning of allocWithZone:NULL?
Re: Meaning of allocWithZone:NULL?
- Subject: Re: Meaning of allocWithZone:NULL?
- From: Art Isbell <email@hidden>
- Date: Wed, 20 Jun 2001 08:19:51 -1000
On Wednesday, June 20, 2001, at 02:24 AM, Youngjin Kim wrote:
SKToolInspectorController implements dealloc method, but is
never actually called. In my understanding, shared instance of
both objects need to be released explicitly. Shouldn't
SKTDrawAppDelegate need to implement applicationWillTerminate
method to release memory allocated by both?
It's certainly good coding practice to free objects when
they are no longer needed, but doing so in
applicationWillTerminate: is kind of pointless because all
process memory will be freed when the process terminates.
Art