Re: how to dealloc a NSFormatter-subclass
Re: how to dealloc a NSFormatter-subclass
- Subject: Re: how to dealloc a NSFormatter-subclass
- From: Matt Neuburg <email@hidden>
- Date: Thu, 16 Mar 2006 09:59:51 -0800
- Thread-topic: how to dealloc a NSFormatter-subclass
On Thu, 16 Mar 2006 15:28:04 +0100, "Dr. Jan-Hendrik D?rner"
<email@hidden> said:
>blah blah blah
> I linked a custom NSFormatter-class
>to an NSTextField with InterfaceBuilder.
>blah blah blah
>But unfortunately it seems that the dealloc-function is never called.
I would take this to mean that the NSFormatter is not being deallocated. Why
is this surprising? It would not be deallocated unless the whole nib is
deallocated. You didn't say anything to suggest that this would happen. Is
the nib owned by an NSWindowController that is released? If not, you can't
expect the nib's top-level objects to just go away magically. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden