Re: views removed from their superviews are automatically released?
Re: views removed from their superviews are automatically released?
- Subject: Re: views removed from their superviews are automatically released?
- From: Lance Bland <email@hidden>
- Date: Wed, 20 Mar 2002 08:38:38 -0500
On Wednesday, March 20, 2002, at 05:45 AM, Andrea Perego wrote:
and the retain count isn't changed. Maybe there is something obvious
I'm missing here; anyway, to provide some more info to anyone that
might get intrigued by this puzzle:
Yes, that is true. I think that is an "implementation detail" and not
documented (at least last time I checked) ...
The view is deallocated on the run loop because it has to mix with
notifications and other things. To test that just place a NSLog() inside
the view's dealloc method. It will be called later on. Of course, I
didn't design that feature and I am just surmising why it is happening
the way it does.
-lance
_______________________________________________
Lance Bland
System Administrator at VVI
mailto:email@hidden
http://www.vvi.com
Realtime, bulk and web data reporting and visualization
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.