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 k...@ksluder.com 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”

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];

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 *cell =

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

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

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 d...@looktowindward.com wrote: myCell = (ImageAndTextCell*) [cell copy]; //*** It’s a “well known”* fact that a