• 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: NSView subclass never gets dealloced?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView subclass never gets dealloced?


  • Subject: Re: NSView subclass never gets dealloced?
  • From: Nick Müller <email@hidden>
  • Date: Fri, 29 Mar 2002 16:32:48 +0100

On 28.03.2002 at 21:31 Uhr, Jonathan Wight wrote:

> Is the behavior I'm seeing to be expected? Seems fishy to me.

Maybe you made something like this:

MyView *myView = [[MyView alloc] init....]
[someOtherView addSubview:myView];

Now you have to release myView, because adding a subview increases the
retain count (think of it like adding myView to an NSArray).

HTH,
Nick
_______________________________________________
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: 
 >NSView subclass never gets dealloced? (From: Jonathan Wight <email@hidden>)

  • Prev by Date: CPU Usage?
  • Next by Date: Re: NSView subclass never gets dealloced?
  • Previous by thread: Re: NSView subclass never gets dealloced?
  • Next by thread: Re: NSView subclass never gets dealloced?
  • Index(es):
    • Date
    • Thread