• 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: Matt Ball <email@hidden>
  • Date: Mon, 11 Jul 2005 11:24:52 -0400

I've read through that page and its conceptual counterpart, and I
don't see why that is applicable to my situation. The values of a cell
are set by the tableView's methods; they do not all have the same
values. I'm sure I'm interpreting it wrong, but I don't see how that
will help me. I've messed around with the code on that page, and the
effect is the same.

- Matt Ball

On 7/11/05, j o a r <email@hidden> wrote:
>
> 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
>
>
>
>
>
 _______________________________________________
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: j o a r <email@hidden>
References: 
 >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>)
 >Re: Why does this leak memory? (From: j o a r <email@hidden>)

  • Prev by Date: Re: SOAP Handler question
  • Next by Date: RE: SOAP Handler question
  • Previous by thread: Re: Why does this leak memory?
  • Next by thread: Re: Why does this leak memory?
  • Index(es):
    • Date
    • Thread