• 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: overloading release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: overloading release


  • Subject: Re: overloading release
  • From: j o a r <email@hidden>
  • Date: Wed, 28 Dec 2005 00:45:25 +0100


On 28 dec 2005, at 00.42, Scott Anguish wrote:

you should not do this here, instead do it in the -dealloc method
if you just implement dealloc, everything else release wise takes care of itself.

You beat me to it Scott! :-)

I'll just add that it would look like this:

- (void) dealloc
{
[data release];

[super dealloc];
}

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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: 
 >overloading release (From: David Alter <email@hidden>)
 >Re: overloading release (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: overloading release
  • Next by Date: Re: overloading release
  • Previous by thread: Re: overloading release
  • Next by thread: Re: overloading release
  • Index(es):
    • Date
    • Thread