• 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: Best practice question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practice question


  • Subject: Re: Best practice question
  • From: j o a r <email@hidden>
  • Date: Sun, 29 Oct 2006 21:56:36 +0100


On 29 okt 2006, at 21.12, Boyd Collier wrote:

[super dealloc]; // should this be [super release] rather than [super dealloc]?

Most definitively. Never, ever, call dealloc - besides when you call the super implementation from an override method. See the comments for the dealloc method in the NSObject reference documentation.


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: 
 >Best practice question (From: "Alan Smith" <email@hidden>)
 >Re: Best practice question (From: "Shawn Erickson" <email@hidden>)
 >Re: Best practice question (From: j o a r <email@hidden>)
 >Re: Best practice question (From: Boyd Collier <email@hidden>)

  • Prev by Date: Re: Best practice question [solved]
  • Next by Date: Re: NSTask stealth bug in readDataOfLength!! :(
  • Previous by thread: Re: Best practice question [solved]
  • Next by thread: Small NSTableView
  • Index(es):
    • Date
    • Thread