• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: views removed from their superviews are automatically released?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >views removed from their superviews are automatically released? (From: Andrea Perego <email@hidden>)

  • Prev by Date: Re: expanding the view area of a window - please help
  • Next by Date: Converting NSCalendarDate to NSString with local language
  • Previous by thread: Re: views removed from their superviews are automatically released?
  • Next by thread: Converting NSCalendarDate to NSString with local language
  • Index(es):
    • Date
    • Thread