• 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: Why does this leak memory?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does this leak memory?


  • Subject: Re: Why does this leak memory?
  • From: j o a r <email@hidden>
  • Date: Mon, 11 Jul 2005 08:50:48 +0200


On 11 jul 2005, at 08.37, Bob Ippolito wrote:

If this is a custom cell, perhaps you're not implementing NSCopying and NSCoding? When you subclass something that implements protocols, and make changes to it that break the implementation of those protocols (adding ivars, etc.), then you are asking for it. ;)

This is a very common problem with custom cell subclasses! You *need* to understand how this works if you're going to implement your own cell subclass to be used in for example a table view, or any other control that will copy it's cells.


Read more here:

<file:///Developer/ADC Reference Library/documentation/Cocoa/ Conceptual/MemoryMgmt/Tasks/ImplementCopy.html#//apple_ref/doc/uid/ 20000049>

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

  • Follow-Ups:
    • Re: Why does this leak memory?
      • From: Matt Ball <email@hidden>
References: 
 >Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Charilaos Skiadas <email@hidden>)
 >Re: Why does this leak memory? (From: Matt Ball <email@hidden>)
 >Re: Why does this leak memory? (From: Bob Ippolito <email@hidden>)

  • Prev by Date: Re: Newbie question on NSDecimals
  • Next by Date: Re: Documentation frustrations
  • Previous by thread: Re: Why does this leak memory?
  • Next by thread: Re: Why does this leak memory?
  • Index(es):
    • Date
    • Thread