Re: Why does this leak memory?
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