HI,
A bit more on this, firstly the problem seems to be related to the
ImageAndTextCell class and secondly looking at the awakeFromNIB method from
SourceView, ImageAndTextCell is allocated, the property is set, but then it
does nothing with it. I assume that under ARC ImageAndTextCell will be s
Hi,
Thanks for this, I actually spotted that late last night and I refactored the
code to read as below, but it still crashes if I do not retain the "iconImage":
- (void)outlineView:(NSOutlineView *)olv willDisplayCell:(NSCell*)cell
forTableColumn:(NSTableColumn *)tableColumn item:(id) item
{
Hi,
Sorry, I wasn’t very clear, the VC is my existing VC with the Source Vice Code
from “myViewController” code added so this had to be converted to use manual
memory management. I also converted the other supporting classes although as
you point out, I could have just set the compiler flag.
H
> On May 26, 2015, at 11:34 AM, Dave wrote:
>
> The SourceView project is built using ARC, but my App uses Manual Memory
> Management. When I moved the code over, I changed it to use release etc. and
> changed any properties or iVar’s to use retain or assign.
Why not leave the source files a
On May 26, 2015, at 1:34 PM, Dave wrote:
> When I run the App, it displays the Tree View fine and Populates the two
> sections, but it crashes due to an over-release if I select a file based item
> - I found this by using NSZombies - it gives the error:
>
> *** -[NSImage release]: message sent