Re: Found It - Problem with Outline View and Manual Memory Management

2015-05-29 Thread Dave
> On 28 May 2015, at 17:56, Kyle Sluder wrote: > > On Thu, May 28, 2015, at 08:37 AM, Dave wrote: >> Hi, >> >> This is from Apple Sample Code so I thought something as fundamental as >> this would have been dealt with correctly. This is the copy method inside >> the “ImageAndTextCell” class, >>

Re: Found It - Problem with Outline View and Manual Memory Management

2015-05-28 Thread Kyle Sluder
On Thu, May 28, 2015, at 08:37 AM, Dave wrote: > Hi, > > This is from Apple Sample Code so I thought something as fundamental as > this would have been dealt with correctly. This is the copy method inside > the “ImageAndTextCell” class, > > -(id) copyWithZone:(NSZone*) zone > { > ImageAndTextCell

Re: Found It - Problem with Outline View and Manual Memory Management

2015-05-28 Thread Dave
Hi, This is from Apple Sample Code so I thought something as fundamental as this would have been dealt with correctly. This is the copy method inside the “ImageAndTextCell” class, -(id) copyWithZone:(NSZone*) zone { ImageAndTextCell *cell = (BJImageAndTextCell*) [super copyWithZone:zone]; cell.

Re: Found It - Problem with Outline View and Manual Memory Management

2015-05-27 Thread Graham Cox
> On 28 May 2015, at 12:56 am, Dave wrote: > > myCell = (ImageAndTextCell*) [cell copy]; > //*** It’s a “well known”* fact that a copy of an NSCell or an

Found It - Problem with Outline View and Manual Memory Management

2015-05-27 Thread Dave
Sorry, I meant: In I change this to: myCell = (ImageAndTextCell*) [cell retain]; //*** It doesn’t work? Presumably now I think about it, because the Image

Found It - Problem with Outline View and Manual Memory Management

2015-05-27 Thread Dave
Hi, I’ve Found it, please see line marked below. In I change this to: myCell = (ImageAndTextCell*) [cell copy]; //*** It doesn’t work, which is a bit of