• 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: Calling -retain inside -dealloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling -retain inside -dealloc


  • Subject: Re: Calling -retain inside -dealloc
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 26 Jun 2005 22:31:05 -0700


On Jun 26, 2005, at 9:52 PM, Andrew Garber wrote:

I override the -release method so that it first checks whether the
retain count is 1. If the retain count is 1, I perform all the
retain/removeObject calls I need, then finish by calling [super
release].

It seems unlikely that this is a good solution. What are you trying to achieve?

mmalc

_______________________________________________
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


References: 
 >Calling -retain inside -dealloc (From: Andrew Garber <email@hidden>)
 >Re: Calling -retain inside -dealloc (From: Andrew Garber <email@hidden>)

  • Prev by Date: Non-activating panel issue
  • Next by Date: Re: Calling -retain inside -dealloc
  • Previous by thread: Re: Calling -retain inside -dealloc
  • Next by thread: Re: Calling -retain inside -dealloc
  • Index(es):
    • Date
    • Thread